Skip to content

Commit ff4809c

Browse files
authored
Merge pull request #158 from CatKasha/patch-3
added swf with LZMA compression detection
2 parents 7e25f7f + cf288b7 commit ff4809c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

filetype/types/archive.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,9 @@ def __init__(self):
234234

235235
def match(self, buf):
236236
return (len(buf) > 2 and
237-
(buf[0] == 0x43 or
238-
buf[0] == 0x46) and
237+
(buf[0] == 0x46 or
238+
buf[0] == 0x43 or
239+
buf[0] == 0x5A) and
239240
buf[1] == 0x57 and
240241
buf[2] == 0x53)
241242

0 commit comments

Comments
 (0)