From 6ad5a19c3604a2a5361dcae97f3c1833b79e05d3 Mon Sep 17 00:00:00 2001 From: Jan Grudo Date: Sun, 3 Sep 2023 20:34:33 +0200 Subject: [PATCH] Allow QuickTime movies to start with "skip" atom --- hachoir/parser/container/mp4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hachoir/parser/container/mp4.py b/hachoir/parser/container/mp4.py index cf2dd890..3360eb66 100644 --- a/hachoir/parser/container/mp4.py +++ b/hachoir/parser/container/mp4.py @@ -1312,7 +1312,7 @@ def validate(self): if size < 8: return "Invalid first atom size" tag = self.stream.readBytes(4 * 8, 4) - if tag not in (b"ftyp", b"moov", b"free"): + if tag not in (b"ftyp", b"moov", b"free", b"skip"): return "Unknown MOV file type" return True