[cvs] / xvidcore / src / plugins / plugin_2pass2.c Repository:
ViewVC logotype

Diff of /xvidcore/src/plugins/plugin_2pass2.c

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

revision 1.1.2.20, Mon Jun 9 13:55:07 2003 UTC revision 1.1.2.21, Tue Jun 10 10:12:24 2003 UTC
# Line 244  Line 244 
244          }          }
245    
246          /* Compute the target filesize */          /* Compute the target filesize */
247          if (rc->num_frames  < create->fbase/create->fincr) {      if (rc->param.bitrate<0) {
248            /* if negative, bitrate equals the target (int kbytes) */
249            rc->target = (-rc->param.bitrate) * 1024;
250    
251        }else if (rc->num_frames  < create->fbase/create->fincr) {
252                  /* Source sequence is less than 1s long, we do as if it was 1s long */                  /* Source sequence is less than 1s long, we do as if it was 1s long */
253                  rc->target = rc->param.bitrate / 8;                  rc->target = rc->param.bitrate / 8;
254          } else {          } else {

Legend:
Removed from v.1.1.2.20  
changed lines
  Added in v.1.1.2.21

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