From a519583991c38d38503ab08357716513facc5725 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 12 Oct 2012 19:54:45 +0200 Subject: swscale: x86: Hide arch-specific initialization details Also give consistent names to init functions. --- libswscale/rgb2rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/rgb2rgb.c') diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index c261fe6ec1..21adfe11d2 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -129,7 +129,7 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, av_cold void sws_rgb2rgb_init(void) { rgb2rgb_init_c(); - if (HAVE_MMX) + if (ARCH_X86) rgb2rgb_init_x86(); } -- cgit v1.2.3