From f8882913592e8053c8daadf84393c14a38b525e3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 30 Aug 2024 12:46:10 -0700 Subject: [PATCH] anim_encode.c: fix function ref in comment WebPCleanupTransparentAreaLossless() was renamed to WebPReplaceTransparentPixels() in: 55a080e5 Add WebPReplaceTransparentPixels() in dsp Change-Id: I91e32574e6add2748c0655146f100eb2b40498b2 --- src/mux/anim_encode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mux/anim_encode.c b/src/mux/anim_encode.c index 31bd0457b..deeb414ad 100644 --- a/src/mux/anim_encode.c +++ b/src/mux/anim_encode.c @@ -191,7 +191,8 @@ int WebPAnimEncoderOptionsInitInternal(WebPAnimEncoderOptions* enc_options, return 1; } -// This starting value is more fit to WebPCleanupTransparentAreaLossless(). +// This value is used to match a later call to WebPReplaceTransparentPixels(), +// making it a no-op for lossless (see WebPEncode()). #define TRANSPARENT_COLOR 0x00000000 static void ClearRectangle(WebPPicture* const picture,