From 7d19628b14311567758626cea1aef901a040486c Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Tue, 26 Dec 2006 16:21:13 +0000 Subject: [PATCH] Add some explicit casts to avoid some warnings Originally committed as revision 21772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale_template.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index ee2c9276f5..aa1dd31ca3 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -3107,15 +3107,15 @@ i--; int i; if(flags & SWS_ACCURATE_RND){ for(i=0; i1)]; + lumMmxFilter[2*i+0]= (int32_t)lumSrcPtr[i ]; + lumMmxFilter[2*i+1]= (int32_t)lumSrcPtr[i+(vLumFilterSize>1)]; lumMmxFilter[2*i+2]= lumMmxFilter[2*i+3]= vLumFilter[dstY*vLumFilterSize + i ] + (vLumFilterSize>1 ? vLumFilter[dstY*vLumFilterSize + i + 1]<<16 : 0); } for(i=0; i1)]; + chrMmxFilter[2*i+0]= (int32_t)chrSrcPtr[i ]; + chrMmxFilter[2*i+1]= (int32_t)chrSrcPtr[i+(vChrFilterSize>1)]; chrMmxFilter[2*i+2]= chrMmxFilter[2*i+3]= vChrFilter[chrDstY*vChrFilterSize + i ] + (vChrFilterSize>1 ? vChrFilter[chrDstY*vChrFilterSize + i + 1]<<16 : 0);