1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

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.
This commit is contained in:
Nico Weber 2023-06-01 08:35:33 -04:00 committed by Andreas Kling
parent 287e2655cb
commit c2ec97dd79

View file

@ -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);