LibGfx: Fix lossless fourcc in VP8X chunk decoder

This commit is contained in:
Nico Weber 2023-02-24 23:03:46 -05:00 committed by Linus Groh
parent d78c70c28c
commit d5875b5962
Notes: sideshowbarker 2024-07-17 06:40:21 +09:00

View file

@ -276,7 +276,7 @@ static ErrorOr<void> 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));
}