Skip to content

Commit fdf0e73

Browse files
authored
Merge pull request #105 from Yishan001/master
Support special video/3gp file.
2 parents 53bdcce + 603482b commit fdf0e73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

filetype/types/video.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def match(self, buf):
2424
return False
2525

2626
major_brand, minor_version, compatible_brands = self._get_ftyp(buf)
27+
for brand in compatible_brands:
28+
if brand in ['mp41', 'mp42', 'isom']:
29+
return True
2730
return major_brand in ['mp41', 'mp42', 'isom']
2831

2932

0 commit comments

Comments
 (0)