mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
avformat/mov: force parsing of headers if stts is absent
Fixes Ticket2991 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
515e651f56
commit
e41ea866fc
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user