mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibGfx/JPEG2000: Make unimplemented markers in main header fatal
We now implement decoding enough marker segments that we can do this.
This commit is contained in:
Notes:
sideshowbarker
2024-07-16 22:54:10 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/1df5c01bfb Pull-request: https://github.com/SerenityOS/serenity/pull/23901 Reviewed-by: https://github.com/trflynn89 ✅
@@ -549,6 +549,7 @@ static ErrorOr<void> parse_codestream_main_header(JPEG2000LoadingContext& contex
|
||||
} else {
|
||||
// FIXME: These are valid main header markers. Parse contents.
|
||||
dbgln("JPEG2000ImageDecoderPlugin: marker {:#04x} not yet implemented", marker.marker);
|
||||
return Error::from_string_literal("JPEG2000ImageDecoderPlugin: marker not yet implemented");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user