diff options
| author | Hisham Aburaqibah <haburaqibah@giga.ly> | 2025-01-15 15:11:09 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-09-08 17:12:04 +0200 |
| commit | d704c45c2417da5fa1aef36262b6adbfdd19411a (patch) | |
| tree | 8be1bcd1c3abccda27933a54caf88ef08bd66a9b /core/image | |
| parent | 21ce0c7ce9c442b9f9caa09af4e64c1cb7549e65 (diff) | |
core/image: some jpegs have APP13 or COM markers after SOI
Diffstat (limited to 'core/image')
| -rw-r--r-- | core/image/general.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image/general.odin b/core/image/general.odin index 336b41d25..1662cf14e 100644 --- a/core/image/general.odin +++ b/core/image/general.odin @@ -147,7 +147,7 @@ which_bytes :: proc(data: []byte) -> Which_File_Type { return .JPEG case s[:3] == "\xff\xd8\xff": switch s[3] { - case 0xdb, 0xee, 0xe1, 0xe0: + case 0xdb, 0xee, 0xe1, 0xe0, 0xfe, 0xed: return .JPEG } switch { |