From fdc4b3187ae9c825793e9e665c5e0d4bc5ccbc25 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 12 Mar 2011 01:12:39 +0000 Subject: 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 --- libhb/encavcodec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libhb') 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; -- cgit v1.2.3