mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
LibGfx: Consider EOI
as a supported marker
For now, we exit after the first scan without needing to parse `EOI`. However, to read scans in a loop we will need to properly detect and parse `EOI`.
This commit is contained in:
parent
698605444b
commit
947698f29f
Notes:
sideshowbarker
2024-07-17 02:39:10 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/947698f29f Pull-request: https://github.com/SerenityOS/serenity/pull/17627 Reviewed-by: https://github.com/nico ✅
1 changed files with 1 additions and 0 deletions
|
@ -515,6 +515,7 @@ static inline bool is_supported_marker(Marker const marker)
|
||||||
case JPEG_DHT:
|
case JPEG_DHT:
|
||||||
case JPEG_DQT:
|
case JPEG_DQT:
|
||||||
case JPEG_DRI:
|
case JPEG_DRI:
|
||||||
|
case JPEG_EOI:
|
||||||
case JPEG_SOF0:
|
case JPEG_SOF0:
|
||||||
case JPEG_SOI:
|
case JPEG_SOI:
|
||||||
case JPEG_SOS:
|
case JPEG_SOS:
|
||||||
|
|
Loading…
Reference in a new issue