From 6b79dbce0c7529199ce1c6cc7d552d43146362cc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 10 Sep 2008 16:39:56 +0000 Subject: Change RGB2YUV_SHIFT from 16 to 15 to make it able to work with 16bit signed constants (like SIMD might use). Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 72ba001d50..52d235960b 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -152,7 +152,7 @@ unsigned swscale_version(void) || isBGR(x) \ ) -#define RGB2YUV_SHIFT 16 +#define RGB2YUV_SHIFT 15 #define BY ((int)( 0.098*(1<