Commit fac1ccbd authored by Michael Niedermayer's avatar Michael Niedermayer

swscale-test: fix freeing of uninitialized variable

Fixes: CID733844
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e782d872
...@@ -87,7 +87,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, ...@@ -87,7 +87,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
static int srcStride[4]; static int srcStride[4];
uint8_t *dst[4] = { 0 }; uint8_t *dst[4] = { 0 };
uint8_t *out[4] = { 0 }; uint8_t *out[4] = { 0 };
int dstStride[4]; int dstStride[4] = {0};
int i; int i;
uint64_t ssdY, ssdU = 0, ssdV = 0, ssdA = 0; uint64_t ssdY, ssdU = 0, ssdV = 0, ssdA = 0;
struct SwsContext *dstContext = NULL, *outContext = NULL; struct SwsContext *dstContext = NULL, *outContext = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment