Browse Source

tests/tiny_psnr: remove redundant initialization

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
dae7e4e63d
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      tests/tiny_psnr.c

+ 1
- 2
tests/tiny_psnr.c View File

@@ -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);


Loading…
Cancel
Save