mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tests/tiny_psnr: remove redundant initialization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3cec54b7d7
commit
dae7e4e63d
@ -180,8 +180,7 @@ static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes)
|
|||||||
switch (len) {
|
switch (len) {
|
||||||
case 1:
|
case 1:
|
||||||
case 2: {
|
case 2: {
|
||||||
int64_t a = buf[0][j];
|
int64_t a, b;
|
||||||
int64_t b = buf[1][j];
|
|
||||||
int dist;
|
int dist;
|
||||||
if (len == 2) {
|
if (len == 2) {
|
||||||
a = get_s16l(buf[0] + j);
|
a = get_s16l(buf[0] + j);
|
||||||
|
Loading…
Reference in New Issue
Block a user