Commit 0944972f authored by benoit's avatar benoit

Initialize pointer arrays which may be freed before being initialized.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@29017 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 10d3d7b7
......@@ -51,9 +51,9 @@ static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, i
// ref & out are YV12
static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int srcFormat, int dstFormat,
int srcW, int srcH, int dstW, int dstH, int flags){
uint8_t *src[4];
uint8_t *dst[4];
uint8_t *out[4];
uint8_t *src[4] = {0};
uint8_t *dst[4] = {0};
uint8_t *out[4] = {0};
int srcStride[4], dstStride[4];
int i;
uint64_t ssdY, ssdU, ssdV, ssdA=0;
......
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