mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 15:32:53 +01:00
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
This commit is contained in:
parent
80285d97ad
commit
3daf7509c2
@ -421,7 +421,9 @@ VP8StatusCode WebPParseHeaders(WebPHeaderStructure* const headers) {
|
|||||||
NULL, NULL, NULL, &has_animation,
|
NULL, NULL, NULL, &has_animation,
|
||||||
NULL, headers);
|
NULL, headers);
|
||||||
if (status == VP8_STATUS_OK || status == VP8_STATUS_NOT_ENOUGH_DATA) {
|
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) {
|
if (has_animation) {
|
||||||
status = VP8_STATUS_UNSUPPORTED_FEATURE;
|
status = VP8_STATUS_UNSUPPORTED_FEATURE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user