Browse Source

libswscale/tests/swscale: Fix uninitialized variables

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7796f29065)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8.12
Michael Niedermayer 8 years ago
parent
commit
42f2cf1597
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libswscale/swscale-test.c

+ 2
- 2
libswscale/swscale-test.c View File

@@ -298,10 +298,10 @@ static int fileTest(uint8_t *ref[4], int refStride[4], int w, int h, FILE *fp,
struct Results r;
enum AVPixelFormat srcFormat;
char srcStr[12];
int srcW, srcH;
int srcW = 0, srcH = 0;
enum AVPixelFormat dstFormat;
char dstStr[12];
int dstW, dstH;
int dstW = 0, dstH = 0;
int flags;
int ret;



Loading…
Cancel
Save