mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
webpinfo: tolerate ALPH+VP8L
Change-Id: I63cec2d021c0bfaa188017813813bddaadfbeacb
This commit is contained in:
parent
972104b34b
commit
0d20abb36f
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user