mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavf/mov: Only search for invalid moov in free if compliance < STRICT.
This commit is contained in:
parent
60178e78f2
commit
f73a3aacbb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user