[FFmpeg-cvslog] lavf/mov: Only search for invalid moov in free if compliance < STRICT.
Carl Eugen Hoyos
git at videolan.org
Tue Nov 1 12:38:49 EET 2016
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Nov 1 11:31:39 2016 +0100| [f73a3aacbb871666b5fb2867e45921444b93e7e1] | committer: Carl Eugen Hoyos
lavf/mov: Only search for invalid moov in free if compliance < STRICT.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f73a3aacbb871666b5fb2867e45921444b93e7e1
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 414007e..b4806f7 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;
More information about the ffmpeg-cvslog
mailing list