Skip to content

Commit

Permalink
Allow QuickTime movies to start with "skip" atom
Browse files Browse the repository at this point in the history
  • Loading branch information
jangrudo authored and vstinner committed Sep 3, 2023
1 parent 1b67cba commit 38d759f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hachoir/parser/container/mp4.py
Expand Up @@ -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

Expand Down

0 comments on commit 38d759f

Please sign in to comment.