diff options
author | Nico Weber <thakis@chromium.org> | 2023-06-01 08:35:33 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-06-01 16:23:46 +0200 |
commit | c2ec97dd7909d633e5ba2ad69039603494900986 (patch) | |
tree | b1e2c63c0d445ad3bbda24330a1dbfeed42389f3 | |
parent | 287e2655cb64009874a80f2bb12ccf5b64f7b3e6 (diff) | |
download | serenity-c2ec97dd7909d633e5ba2ad69039603494900986.zip |
WebP: Remove nonsensical comment
It's up to callers of the ImageDecoderPlugin to honor loop_count().
The ImageDecoderPlugin doesn't have to look at it when decoding frames.
No behavior change.
-rw-r--r-- | Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp index 2e869a8261..34aae26a83 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp @@ -592,8 +592,6 @@ static ErrorOr<ImageFrameDescriptor> decode_webp_animation_frame(WebPLoadingCont Painter painter(*context.bitmap); - // FIXME: Honor context.animation_header_chunk_data.loop_count. - for (size_t i = start_frame; i <= frame_index; ++i) { dbgln_if(WEBP_DEBUG, "drawing frame {} to produce frame {}", i, frame_index); |