1000l
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Feb 2003 17:29:01 +0000 (17:29 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Feb 2003 17:29:01 +0000 (17:29 +0000)
Originally committed as revision 9435 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/swscale_template.c

index bbb1d9f..b108fb1 100644 (file)
@@ -1696,7 +1696,7 @@ static inline void RENAME(bgr24ToY)(uint8_t *dst, uint8_t *src, int width)
                int g= src[i*3+1];
                int r= src[i*3+2];
 
-               dst[i]= ((RY*r + GY*g + BY*b + (33<<(RGB2YUV_SHIFT-1)) )>>RGB2YUV_SHIFT)
+               dst[i]= ((RY*r + GY*g + BY*b + (33<<(RGB2YUV_SHIFT-1)) )>>RGB2YUV_SHIFT);
        }
 #endif
 }