From 6d7e7200096d9444050e8cb525675f9342dceb24 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 11 Sep 2008 14:47:18 +0000 Subject: Fix typo that lead to averaging of the same pixel in rgb24ToUV_half(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27582 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libswscale/swscale_template.c') diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index a52dfd55d9..c7f278bb89 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2109,9 +2109,9 @@ static inline void RENAME(rgb24ToUV_half)(uint8_t *dstU, uint8_t *dstV, uint8_t assert(src1==src2); for (i=0; i>(RGB2YUV_SHIFT+1); dstV[i]= (RV*r + GV*g + BV*b + (257<>(RGB2YUV_SHIFT+1); -- cgit v1.2.3