From 9902f4e2e49e9bfb915df477beb1a17e70b6d0ff Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 15 Feb 2003 17:29:01 +0000 Subject: 1000l Originally committed as revision 9435 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/swscale_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postproc') diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index bbb1d9f..b108fb1 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -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 } -- cgit v1.1