summaryrefslogtreecommitdiffstats
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-13 16:03:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-13 17:54:20 +0100
commitdae7e4e63da32e2c95d8aeb86074be139229c29a (patch)
tree70af7f072d27192e0eaa23476e51797f3149a809 /tests/tiny_psnr.c
parent3cec54b7d72bc594b28faa7b8fb6683ef397fe66 (diff)
downloadffmpeg-streaming-dae7e4e63da32e2c95d8aeb86074be139229c29a.zip
ffmpeg-streaming-dae7e4e63da32e2c95d8aeb86074be139229c29a.tar.gz
tests/tiny_psnr: remove redundant initialization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/tiny_psnr.c')
-rw-r--r--tests/tiny_psnr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c
index 6da177a..b35ed81 100644
--- a/tests/tiny_psnr.c
+++ b/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);
OpenPOWER on IntegriCloud