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 11:26:15 +0200 |
commit | 1cfcc9ac8ec6885d370ae6152b46f2969cdff563 (patch) | |
tree | ad5d75edc1e96184df4214a49b743975ba0d3694 | |
parent | 8b282d9d8b786397b75e11c74529d0ad033f76f0 (diff) | |
download | ffmpeg-1cfcc9ac8ec6885d370ae6152b46f2969cdff563.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 4c6155895e..bd408afbb6 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1669,6 +1669,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)) |