mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-26 22:52:55 +01:00
get_disto: fix reference file read
previously this was reading the first file a second time, since: b0450139 ReadImage(): restore size reporting BUG=webp:329 Change-Id: Ie75192e36a06102b7617841768a18d4dfb02d1f5
This commit is contained in:
parent
43d472aa18
commit
6cf24a247d
@ -278,7 +278,7 @@ int main(int argc, const char *argv[]) {
|
||||
goto End;
|
||||
}
|
||||
size1 = ReadPicture(name1, &pic1, 1);
|
||||
size2 = ReadPicture(name1, &pic2, 1);
|
||||
size2 = ReadPicture(name2, &pic2, 1);
|
||||
if (size1 == 0 || size2 == 0) goto End;
|
||||
|
||||
if (!keep_alpha) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user