1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

libswscale/tests/swscale: Fix uninitialized variables

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2017-04-29 18:46:48 +02:00
parent 8dd3a53dbf
commit 7796f29065

View 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;