mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibGfx/WebP: Remove a typo
:redthakis:
This commit is contained in:
parent
4adef05e6d
commit
8ef5170bd5
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…
Add table
Add a link
Reference in a new issue