From: Michael Niedermayer Date: Thu, 11 Sep 2008 14:47:18 +0000 (+0000) Subject: Fix typo that lead to averaging of the same pixel in rgb24ToUV_half(). X-Git-Tag: v0.5~2560 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/e09d7eef375918fd4218ffb7e0d5c182b3038cb3 Fix typo that lead to averaging of the same pixel in rgb24ToUV_half(). Originally committed as revision 27582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index a52dfd5..c7f278b 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);