From 6cf24a247d82c61bec88ad846beffde0056accd0 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 30 Jan 2017 18:24:56 -0800 Subject: [PATCH] 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 --- extras/get_disto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/get_disto.c b/extras/get_disto.c index ab1b0516..9091b386 100644 --- a/extras/get_disto.c +++ b/extras/get_disto.c @@ -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) {