aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-11 02:16:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-25 21:09:11 +0200
commit0b9d4643489477aac2c62f144aee4f53f9f98965 (patch)
tree670a6dd1287124fee57b1f6592fdfcae72c5b021
parentc279e37e901eafc0e14554000e4729d7c86fe514 (diff)
downloadffmpeg-0b9d4643489477aac2c62f144aee4f53f9f98965.tar.gz
swscale-test: fix freeing of uninitialized variable
Fixes: CID733844 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fac1ccbda1bb8441c7329a3ac18fbf04886da983) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libswscale/swscale-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c
index ef6c55ce02..24a4747d02 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;