[svn] / trunk / xvidcore / vfw / src / config.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/vfw/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1592, Mon Jan 10 05:01:01 2005 UTC revision 1593, Mon Jan 10 05:35:56 2005 UTC
# Line 1001  Line 1001 
1001                          if (vsize > 0) {                          if (vsize > 0) {
1002                                  SetDlgItemInt(hDlg, IDC_BITRATE_VSIZE, vsize, TRUE);                                  SetDlgItemInt(hDlg, IDC_BITRATE_VSIZE, vsize, TRUE);
1003                                  /* convert from kbytes to kbits-per-second */                                  /* convert from kbytes to kbits-per-second */
1004                                  SetDlgItemInt(hDlg, IDC_BITRATE_VRATE, (int)((__int64)vsize * 8 * 128) / (duration * 125), TRUE);                                  SetDlgItemInt(hDlg, IDC_BITRATE_VRATE, (int)(((__int64)vsize * 8 * 128) / (duration * 125)), TRUE);
1005                          }else{                          }else{
1006                                  SetDlgItemText(hDlg, IDC_BITRATE_VSIZE, "Overflow");                                  SetDlgItemText(hDlg, IDC_BITRATE_VSIZE, "Overflow");
1007                                  SetDlgItemText(hDlg, IDC_BITRATE_VRATE, "Overflow");                                  SetDlgItemText(hDlg, IDC_BITRATE_VRATE, "Overflow");

Legend:
Removed from v.1592  
changed lines
  Added in v.1593

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4