Commit 7796f290 authored by Michael Niedermayer's avatar Michael Niedermayer

libswscale/tests/swscale: Fix uninitialized variables

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 8dd3a53d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment