[svn] / branches / dev-api-4 / xvidcore / src / plugins / plugin_2pass2.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/plugins/plugin_2pass2.c

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

revision 1242, Fri Dec 5 14:44:35 2003 UTC revision 1246, Sun Dec 7 15:08:15 2003 UTC
# Line 25  Line 25 
25   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
26   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27   *   *
28   * $Id: plugin_2pass2.c,v 1.1.2.28 2003-12-05 14:44:35 edgomez Exp $   * $Id: plugin_2pass2.c,v 1.1.2.29 2003-12-07 15:08:15 edgomez Exp $
29   *   *
30   *****************************************************************************/   *****************************************************************************/
31    
# Line 333  Line 333 
333          /* Compute the target filesize */          /* Compute the target filesize */
334          if (rc->param.bitrate<0) {          if (rc->param.bitrate<0) {
335                  /* if negative, bitrate equals the target (in kbytes) */                  /* if negative, bitrate equals the target (in kbytes) */
336                  rc->target = (-rc->param.bitrate) * 1024;                  rc->target = ((uint64_t)(-rc->param.bitrate)) * 1024;
337          } else if (rc->num_frames  < create->fbase/create->fincr) {          } else if (rc->num_frames  < create->fbase/create->fincr) {
338                  /* 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 */
339                  rc->target = rc->param.bitrate / 8;                  rc->target = rc->param.bitrate / 8;

Legend:
Removed from v.1242  
changed lines
  Added in v.1246

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