Initialize pointer arrays which may be freed before being initialized.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29017 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
benoit 2009-03-20 16:29:47 +00:00
parent 902bcf5fbd
commit 664d12c7be
1 changed files with 3 additions and 3 deletions

View File

@ -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;