mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Initialize pointer arrays which may be freed before being initialized.
Originally committed as revision 29017 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
04ef1d3f7b
commit
1cd98da820
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user