summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-12 19:54:45 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-28 23:59:24 +0200
commita519583991c38d38503ab08357716513facc5725 (patch)
tree680be0eb073b89921962a9215354256cb4b01ce4 /libswscale/rgb2rgb.c
parenta64f6a04ac5773aeff2003897455dadb9609f18b (diff)
swscale: x86: Hide arch-specific initialization details
Also give consistent names to init functions.
Diffstat (limited to 'libswscale/rgb2rgb.c')
-rw-r--r--libswscale/rgb2rgb.c2
1 files changed, 1 insertions, 1 deletions
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();
}