mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
20ba865740
commit
04f39ac542
|
@ -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…
Reference in New Issue