From c548a42f3c424d285451c4f40e1542e7743c2973 Mon Sep 17 00:00:00 2001 From: kostya Date: Sun, 22 Feb 2009 09:22:05 +0000 Subject: New LGPLed YUV2RGB table generator for SwScaler git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28700 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 6ba56bcb96..2982857209 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2331,14 +2331,12 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d { c->swScale= PlanarToNV12Wrapper; } -#if CONFIG_GPL /* yuv2bgr */ if ((srcFormat==PIX_FMT_YUV420P || srcFormat==PIX_FMT_YUV422P) && (isBGR(dstFormat) || isRGB(dstFormat)) && !(flags & SWS_ACCURATE_RND) && !(dstH&1)) { c->swScale= sws_yuv2rgb_get_func_ptr(c); } -#endif if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P && !(flags & SWS_BITEXACT)) { -- cgit v1.2.3