From: Mark Nauwelaerts Date: Mon, 10 May 2010 16:33:03 +0000 (+0200) Subject: qtdemux: fix partial parsing of ctts table X-Git-Tag: 1.19.3~509^2~8645 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e934f637b64eac1bcc73bec7338d36804273c3ef;p=platform%2Fupstream%2Fgstreamer.git qtdemux: fix partial parsing of ctts table Fixes #616516. --- diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 09cdad2..5c0aaba 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -4676,10 +4676,11 @@ ctts: cur->pts_offset = ctts_soffset; cur++; - if (G_UNLIKELY (cur > last)) + if (G_UNLIKELY (cur > last)) { /* save state */ stream->ctts_sample_index = j + 1; - goto done; + goto done; + } } stream->ctts_sample_index = 0; stream->ctts_index++;