mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +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;
|
goto End;
|
||||||
}
|
}
|
||||||
size1 = ReadPicture(name1, &pic1, 1);
|
size1 = ReadPicture(name1, &pic1, 1);
|
||||||
size2 = ReadPicture(name1, &pic2, 1);
|
size2 = ReadPicture(name2, &pic2, 1);
|
||||||
if (size1 == 0 || size2 == 0) goto End;
|
if (size1 == 0 || size2 == 0) goto End;
|
||||||
|
|
||||||
if (!keep_alpha) {
|
if (!keep_alpha) {
|
||||||
|
Loading…
Reference in New Issue
Block a user