diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 04:16:52 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 04:21:28 +0400 |
commit | fac1ccbda1bb8441c7329a3ac18fbf04886da983 (patch) | |
tree | 0002c1eaf776d5b8e1f8a5456166319079c2ab59 /libswscale | |
parent | e782d8728f1edac711a45e57607e728aff99e310 (diff) |
swscale-test: fix freeing of uninitialized variable
Fixes: CID733844
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |