diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-04 17:39:19 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-10-24 10:54:46 +0200 |
commit | 6559bb893f5f180e70f9b50064f63086aed70793 (patch) | |
tree | acc2dedf7dc6f5d2a741d7321b847edf3c873475 | |
parent | 14e258d847f7ff3e9713abae5c1554f39e6bc341 (diff) | |
download | ffmpeg-6559bb893f5f180e70f9b50064f63086aed70793.tar.gz |
avformat/mov: force parsing of headers if stts is absent
Fixes Ticket2991
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e41ea866fc26f38d770bbc1ad67703e7f4400ae1)
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 82972777a7..fa7d645969 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1679,6 +1679,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)) |