From: saintdev Date: Wed, 5 Mar 2008 00:29:09 +0000 (+0000) Subject: encx264: Fix timecodes when using x264 with avi. X-Git-Tag: 0.9.3~618 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e92b874fa90eccd2ccda75294c1bc985e9246ef;p=handbrake encx264: Fix timecodes when using x264 with avi. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1326 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/encx264.c b/libhb/encx264.c index d61f2808b..8f976748d 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -528,13 +528,12 @@ int encx264Work( hb_work_object_t * w, hb_buffer_t ** buf_in, b-frames with the CTTS atom. */ buf->renderOffset = pic_out.i_pts - dts_start + pv->init_delay; - /* Send out the next dts values */ - buf->start = dts_start; - buf->stop = dts_stop; - buf->size += size; } } + /* Send out the next dts values */ + buf->start = dts_start; + buf->stop = dts_stop; } else