Commit e934f637 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

qtdemux: fix partial parsing of ctts table

Fixes #616516.
parent a9e688cf
......@@ -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++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment