From d5875b59626dea25bfc2b6205e0e115b66cdeffa Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 24 Feb 2023 23:03:46 -0500 Subject: [PATCH] LibGfx: Fix lossless fourcc in VP8X chunk decoder --- Userland/Libraries/LibGfx/WebPLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/WebPLoader.cpp b/Userland/Libraries/LibGfx/WebPLoader.cpp index 12fee40a20..7c9f7793ea 100644 --- a/Userland/Libraries/LibGfx/WebPLoader.cpp +++ b/Userland/Libraries/LibGfx/WebPLoader.cpp @@ -276,7 +276,7 @@ static ErrorOr decode_webp_extended(WebPLoadingContext& context, Chunk con // instead of calling the _simple functions from the _extended function. if (chunk.type == FourCC("VP8 ")) TRY(decode_webp_simple_lossy(context, chunk)); - if (chunk.type == FourCC("VP8X")) + if (chunk.type == FourCC("VP8L")) TRY(decode_webp_simple_lossless(context, chunk)); }