From 0d20abb36f233b31b4ab714649af98f293515387 Mon Sep 17 00:00:00 2001 From: hui su Date: Fri, 19 May 2017 14:58:44 -0700 Subject: [PATCH] webpinfo: tolerate ALPH+VP8L Change-Id: I63cec2d021c0bfaa188017813813bddaadfbeacb --- examples/webpinfo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/webpinfo.c b/examples/webpinfo.c index 00e98626..42c53b1f 100644 --- a/examples/webpinfo.c +++ b/examples/webpinfo.c @@ -828,8 +828,7 @@ static WebPInfoStatus ProcessImageChunk(const ChunkData* const chunk_data, } if (chunk_data->id_ == CHUNK_VP8L && webp_info->chunk_counts_[CHUNK_ALPHA]) { - LOG_ERROR("Both VP8L and ALPH chunks are detected."); - return WEBP_INFO_PARSE_ERROR; + LOG_WARN("Both VP8L and ALPH chunks are detected."); } if (webp_info->chunk_counts_[CHUNK_ANIM] || webp_info->chunk_counts_[CHUNK_ANMF]) {