mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibGfx/JPEG2000: Fix typo in an error mesage
This commit is contained in:
parent
6bad4ea275
commit
1393719f10
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/nico
Commit: 1393719f10
Pull-request: https://github.com/SerenityOS/serenity/pull/23888
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ static ErrorOr<void> parse_codestream_tile_headers(JPEG2000LoadingContext& conte
|
|||
static ErrorOr<void> decode_jpeg2000_header(JPEG2000LoadingContext& context, ReadonlyBytes data)
|
||||
{
|
||||
if (!JPEG2000ImageDecoderPlugin::sniff(data))
|
||||
return Error::from_string_literal("JBIG2LoadingContext: Invalid JBIG2 header");
|
||||
return Error::from_string_literal("JPEG2000LoadingContext: Invalid JPEG2000 header");
|
||||
|
||||
auto reader = TRY(Gfx::ISOBMFF::Reader::create(TRY(try_make<FixedMemoryStream>(data))));
|
||||
context.boxes = TRY(reader.read_entire_file());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue