Commit 22129c78 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Use av_mallocz() instead of for() =0;

Originally committed as revision 27610 to svn://
parent 45e18be8
......@@ -1063,8 +1063,7 @@ static inline int initFilter(int16_t **outFilter, int16_t **filterPos, int *outF
int i;
filterSize= 1;
filter= av_malloc(dstW*sizeof(double)*filterSize);
for (i=0; i<dstW*filterSize; i++) filter[i]=0;
filter= av_mallocz(dstW*sizeof(double)*filterSize);
for (i=0; i<dstW; i++)
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