diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-11-01 11:31:39 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-11-01 11:37:34 +0100 |
commit | f73a3aacbb871666b5fb2867e45921444b93e7e1 (patch) | |
tree | 75a936af913336e07a363192a00cf6f2f4c56fa7 /libavformat | |
parent | 60178e78f2fe9a7bfb9da0abc985835e2ebfd2f1 (diff) | |
download | ffmpeg-f73a3aacbb871666b5fb2867e45921444b93e7e1.tar.gz |
lavf/mov: Only search for invalid moov in free if compliance < STRICT.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 414007e7aa..b4806f754e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4884,6 +4884,7 @@ static int mov_read_default(MOVContext *c, AVIOContext *pb, MOVAtom atom) a.type = avio_rl32(pb); if (a.type == MKTAG('f','r','e','e') && a.size >= 8 && + c->fc->strict_std_compliance < FF_COMPLIANCE_STRICT && c->moov_retry) { uint8_t buf[8]; uint32_t *type = (uint32_t *)buf + 1; |