Skip to content
Snippets Groups Projects
Commit 1cd98da8 authored by Benoit Fouet's avatar Benoit Fouet
Browse files

Initialize pointer arrays which may be freed before being initialized.

Originally committed as revision 29017 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 04ef1d3f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment