From 86843f41c253f9b9841ae67ee96450647f6d6d5d Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 27 Oct 2008 09:03:47 +0000 Subject: Remove rgb2rgb.h dependancy. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27835 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale-example.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libswscale') diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index c67b4c0420..d1189b2745 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -28,7 +28,6 @@ #include "libavutil/avutil.h" #include "swscale.h" #include "swscale_internal.h" -#include "rgb2rgb.h" static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){ int x,y; @@ -207,11 +206,6 @@ int main(int argc, char **argv){ rgb_data[ x + y*4*W]= random(); } } -#if defined(ARCH_X86) - sws_rgb2rgb_init(SWS_CPU_CAPS_MMX*0); -#else - sws_rgb2rgb_init(0); -#endif sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride); #if defined(ARCH_X86) -- cgit v1.2.3