X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ffmpeg%2Ftests%2Ftiny_psnr.c;h=b35ed810fece8c5256157dfabb09f47bc817da16;hb=refs%2Ftags%2Fdebian%2F2.5.0_trusty1.1;hp=6da177ab9e4e39fb7808055c48759c643a6e66fe;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00;p=deb_ffmpeg.git diff --git a/ffmpeg/tests/tiny_psnr.c b/ffmpeg/tests/tiny_psnr.c index 6da177a..b35ed81 100644 --- a/ffmpeg/tests/tiny_psnr.c +++ b/ffmpeg/tests/tiny_psnr.c @@ -180,8 +180,7 @@ static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes) switch (len) { case 1: case 2: { - int64_t a = buf[0][j]; - int64_t b = buf[1][j]; + int64_t a, b; int dist; if (len == 2) { a = get_s16l(buf[0] + j);