aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-04-29 18:46:48 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-05-16 16:00:23 +0200
commitd5ac8a296a010374a2c6931d81cc8a43f259a84c (patch)
treec91d307cd5b8b5276a4a113a2d47625d9a5c2887
parent536275b673c008afa2e912edebf70815c6796dfe (diff)
downloadffmpeg-d5ac8a296a010374a2c6931d81cc8a43f259a84c.tar.gz
libswscale/tests/swscale: Fix uninitialized variables
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 7796f290653349a4126f2d448d11bb4440b9f257) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libswscale/tests/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index 58c211453a..8291ce8359 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -308,10 +308,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;