From 3daf7509c248704f12c9486c64c3a4bcb4739b3e Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 16 Nov 2017 20:15:57 -0800 Subject: [PATCH] WebPParseHeaders: remove obsolete animation TODO The WebPDemux and WebPAnimDecoder APIs are provided for the purpose of animated webp parsing and decoding. No major changes are currently planned for the libwebp API. Change-Id: I2758ecda195b0c4091572d5731a0a85fa3716303 --- src/dec/webp_dec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dec/webp_dec.c b/src/dec/webp_dec.c index f6edaf97..42d09887 100644 --- a/src/dec/webp_dec.c +++ b/src/dec/webp_dec.c @@ -421,7 +421,9 @@ VP8StatusCode WebPParseHeaders(WebPHeaderStructure* const headers) { NULL, NULL, NULL, &has_animation, NULL, headers); if (status == VP8_STATUS_OK || status == VP8_STATUS_NOT_ENOUGH_DATA) { - // TODO(jzern): full support of animation frames will require API additions. + // The WebPDemux API + libwebp can be used to decode individual + // uncomposited frames or the WebPAnimDecoder can be used to fully + // reconstruct them (see webp/demux.h). if (has_animation) { status = VP8_STATUS_UNSUPPORTED_FEATURE; }