mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 09:20:36 +00:00
LibGfx/WebP: Remove a typo
:redthakis:
This commit is contained in:
parent
4adef05e6d
commit
8ef5170bd5
Notes:
sideshowbarker
2024-07-18 00:54:03 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/8ef5170bd5 Pull-request: https://github.com/SerenityOS/serenity/pull/20030 Reviewed-by: https://github.com/nico ✅
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index, Option
|
|||
if (m_context->state == WebPLoadingContext::State::Error)
|
||||
return Error::from_string_literal("WebPImageDecoderPlugin: Decoding failed");
|
||||
|
||||
// In a a lambda so that only one check to set State::Error is needed, instead of one per TRY.
|
||||
// In a lambda so that only one check to set State::Error is needed, instead of one per TRY.
|
||||
auto decode_frame = [this](size_t index) -> ErrorOr<ImageFrameDescriptor> {
|
||||
if (m_context->state < WebPLoadingContext::State::ChunksDecoded)
|
||||
TRY(decode_webp_chunks(*m_context));
|
||||
|
|
Loading…
Reference in a new issue