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
commit c2ec97dd79
Notes: sideshowbarker 2024-07-17 01:51:00 +09:00

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