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:
Lucas CHOLLET 2023-02-25 15:18:14 -05:00 committed by Andreas Kling
parent 698605444b
commit 947698f29f
Notes: sideshowbarker 2024-07-17 02:39:10 +09:00

View file

@ -515,6 +515,7 @@ static inline bool is_supported_marker(Marker const marker)
case JPEG_DHT:
case JPEG_DQT:
case JPEG_DRI:
case JPEG_EOI:
case JPEG_SOF0:
case JPEG_SOI:
case JPEG_SOS: