AnimDecoder: option to decode to common color modes.

Change-Id: I77ddab9abe3c4b35a9bcfe4c90b3e43d3aef166d
This commit is contained in:
Urvang Joshi
2015-11-10 09:27:59 -08:00
parent afd5a62cd4
commit 3584abca16
4 changed files with 180 additions and 63 deletions

View File

@ -201,7 +201,7 @@ static int ReadAnimatedWebP(const char filename[],
memset(image, 0, sizeof(*image));
dec = WebPAnimDecoderNew(webp_data);
dec = WebPAnimDecoderNew(webp_data, NULL);
if (dec == NULL) {
fprintf(stderr, "Error parsing image: %s\n", filename);
goto End;