diff options
author | jstebbins <[email protected]> | 2011-03-12 01:12:39 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-12 01:12:39 +0000 |
commit | fdc4b3187ae9c825793e9e665c5e0d4bc5ccbc25 (patch) | |
tree | 220ac83fa6bb47df1966dce448413ef6a74ac074 /libhb | |
parent | 33fb6c7dd32a586b60376e6854074e6086f15644 (diff) |
fix potential infinite loop in ffmpeg mpeg-4 b-frame handling
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3841 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/encavcodec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index fd95f64b1..e70d9279b 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -387,6 +387,7 @@ static hb_buffer_t * process_delay_list( hb_work_private_t * pv, hb_buffer_t * b // output buffers have rearranged start times. int64_t start = get_frame_start( pv, pv->frameno_out ); buf->renderOffset = start - pv->dts_delay; + buf = buf->next; } buf = pv->delay_head; pv->delay_head = pv->delay_tail = NULL; |