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>
This commit is contained in:
Michael Niedermayer 2017-04-29 18:46:48 +02:00
parent 20ba865740
commit 04f39ac542
1 changed files with 2 additions and 2 deletions

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;