LibGfx/JPEG2000: Make unimplemented markers in tile-part header fatal

This commit is contained in:
Nico Weber 2024-04-08 21:04:31 -04:00 committed by Tim Flynn
parent dbe179f0d5
commit f91d8472ee
Notes: sideshowbarker 2024-07-17 07:11:12 +09:00

View file

@ -673,6 +673,7 @@ static ErrorOr<void> parse_codestream_tile_header(JPEG2000LoadingContext& contex
} else {
// FIXME: These are valid main header markers. Parse contents.
dbgln("JPEG2000ImageDecoderPlugin: marker {:#04x} not yet implemented in tile header", marker.marker);
return Error::from_string_literal("JPEG2000ImageDecoderPlugin: marker not yet implemented in tile header");
}
break;
}