swscale: x86: Hide arch-specific initialization details
[ffmpeg.git] / libswscale / rgb2rgb.c
index c261fe6..21adfe1 100644 (file)
@@ -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();
 }