[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 1590, Mon Jan 10 02:59:38 2005 UTC revision 1591, Mon Jan 10 03:36:53 2005 UTC
# Line 1005  Line 1005 
1005                          if (vsize > 0) {                          if (vsize > 0) {
1006                                  SetDlgItemInt(hDlg, IDC_BITRATE_VSIZE, vsize, TRUE);                                  SetDlgItemInt(hDlg, IDC_BITRATE_VSIZE, vsize, TRUE);
1007                                  /* convert from kbytes to kbits-per-second */                                  /* convert from kbytes to kbits-per-second */
1008                                  SetDlgItemInt(hDlg, IDC_BITRATE_VRATE, (vsize * 8 * 128) / (duration * 125), TRUE);                                  SetDlgItemInt(hDlg, IDC_BITRATE_VRATE, ((__int64)vsize * 8 * 128) / (duration * 125), TRUE);
1009                          }else{                          }else{
1010                                  SetDlgItemText(hDlg, IDC_BITRATE_VSIZE, "Overflow");                                  SetDlgItemText(hDlg, IDC_BITRATE_VSIZE, "Overflow");
1011                                  SetDlgItemText(hDlg, IDC_BITRATE_VRATE, "Overflow");                                  SetDlgItemText(hDlg, IDC_BITRATE_VRATE, "Overflow");

Legend:
Removed from v.1590  
changed lines
  Added in v.1591

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