Skip to content

Commit

Permalink
LibGfx/JPEG2000: Make unimplemented markers in tile-part header fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
nico committed Apr 9, 2024
1 parent 4653a11 commit 9d6ad27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Userland/Libraries/LibGfx/ImageFormats/JPEG2000Loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9d6ad27

Please sign in to comment.