libswscale/tests/swscale: Fix uninitialized variables
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Apr 2017 16:46:48 +0000 (18:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Apr 2017 12:23:27 +0000 (14:23 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/tests/swscale.c

index bd8d098..b4b8173 100644 (file)
@@ -309,10 +309,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;