diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-10-27 09:03:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-10-27 09:03:47 +0000 |
commit | b29e65513c92035a6060b0bc5399ce7e15aa5f58 (patch) | |
tree | 562948fff9b5abb5a890415aa80195bac922ca8d /libswscale/swscale-example.c | |
parent | d2d398590d6a3fef4d3ad13849a0dc733b63ad6b (diff) | |
download | ffmpeg-b29e65513c92035a6060b0bc5399ce7e15aa5f58.tar.gz |
Remove rgb2rgb.h dependancy.
Originally committed as revision 27835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale-example.c')
-rw-r--r-- | libswscale/swscale-example.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) |