Commit e41ea866 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mov: force parsing of headers if stts is absent

Fixes Ticket2991
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 515e651f
......@@ -1790,6 +1790,8 @@ static int mov_read_stss(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if (!entries)
{
sc->keyframe_absent = 1;
if (!st->need_parsing)
st->need_parsing = AVSTREAM_PARSE_HEADERS;
return 0;
}
if (entries >= UINT_MAX / sizeof(int))
......
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