From fac1ccbda1bb8441c7329a3ac18fbf04886da983 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 11 Oct 2012 02:16:52 +0200 Subject: [PATCH] swscale-test: fix freeing of uninitialized variable Fixes: CID733844 Signed-off-by: Michael Niedermayer --- libswscale/swscale-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index 03a887fc35..3056ea54af 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -87,7 +87,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, static int srcStride[4]; uint8_t *dst[4] = { 0 }; uint8_t *out[4] = { 0 }; - int dstStride[4]; + int dstStride[4] = {0}; int i; uint64_t ssdY, ssdU = 0, ssdV = 0, ssdA = 0; struct SwsContext *dstContext = NULL, *outContext = NULL;