aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-04 17:39:19 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-10-24 10:35:34 +0200
commitfb1fb462e598d572371a9b53cfbeeca97809bc67 (patch)
tree43c19bae20190687baa0798778fd2f475c941c5b
parent7da810e68b76f7324f3f921999375fb876455f7a (diff)
downloadffmpeg-fb1fb462e598d572371a9b53cfbeeca97809bc67.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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9c6ad99d90..54b57b0958 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1697,6 +1697,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))