mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 23:42:53 +01:00
Merge "get_disto: remove redundant reader check"
This commit is contained in:
commit
73f567ea8b
@ -38,7 +38,7 @@ static size_t ReadPicture(const char* const filename, WebPPicture* const pic,
|
|||||||
pic->use_argb = 1; // force ARGB
|
pic->use_argb = 1; // force ARGB
|
||||||
|
|
||||||
reader = WebPGuessImageReader(data, data_size);
|
reader = WebPGuessImageReader(data, data_size);
|
||||||
ok = (reader != NULL) && reader(data, data_size, pic, keep_alpha, NULL);
|
ok = reader(data, data_size, pic, keep_alpha, NULL);
|
||||||
|
|
||||||
Error:
|
Error:
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user