From: Michael Niedermayer Date: Sun, 14 Sep 2008 19:25:16 +0000 (+0000) Subject: Use av_mallocz() instead of for() =0; X-Git-Tag: v0.5~2513 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22129c78d7ec7de51629dfdc2f7fadc8410a4724;p=platform%2Fupstream%2Flibav.git Use av_mallocz() instead of for() =0; Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 8e74d2e..337b23a 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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