summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-04 17:39:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-04 17:47:26 +0200
commite41ea866fc26f38d770bbc1ad67703e7f4400ae1 (patch)
treee805ca3cbb9b4fcd206e4b7a822935a1384ce886 /libavformat/mov.c
parent515e651f56e80b3a5ee4b739cfa1e916f4e33f6d (diff)
avformat/mov: force parsing of headers if stts is absent
Fixes Ticket2991 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index b06dcdb828..37dd90b7ec 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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))