git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.9.x@4524
b64f7644-9d1e-0410-96f1-
a4d463321fa5
// each of which is a frame time long.
double excess_dur = (double)out->stop - cfr_stop;
out->stop = cfr_stop;
- for ( ; excess_dur >= pv->frame_rate; excess_dur -= cfr_stop )
+ for ( ; excess_dur >= pv->frame_rate; excess_dur -= pv->frame_rate )
{
/* next frame too far ahead - dup current frame */
hb_buffer_t *dup = hb_buffer_init( out->size );