From 2c4c89a7834c7c512661b3014b475a657d0ec387 Mon Sep 17 00:00:00 2001 From: Luke Petre Date: Sat, 26 Apr 2025 13:44:03 +0000 Subject: [PATCH] Fix JXL ISOBMFF format --- filetype/types/image.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/filetype/types/image.py b/filetype/types/image.py index 783aa7b..07db235 100644 --- a/filetype/types/image.py +++ b/filetype/types/image.py @@ -68,13 +68,13 @@ def match(self, buf): buf[0] == 0x00 and buf[1] == 0x00 and buf[2] == 0x00 and - buf[3] == 0x00 and - buf[4] == 0x0C and - buf[5] == 0x4A and - buf[6] == 0x58 and - buf[7] == 0x4C and - buf[8] == 0x20 and - buf[9] == 0x0D and + buf[3] == 0x0C and + buf[4] == 0x4A and + buf[5] == 0x58 and + buf[6] == 0x4C and + buf[7] == 0x20 and + buf[8] == 0x0D and + buf[9] == 0x0A and buf[10] == 0x87 and buf[11] == 0x0A) )