Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-12 21:54:45 +0400
committerDiego Biurrun <diego@biurrun.de>2013-08-29 01:59:24 +0400
commita519583991c38d38503ab08357716513facc5725 (patch)
tree680be0eb073b89921962a9215354256cb4b01ce4 /libswscale/yuv2rgb.c
parenta64f6a04ac5773aeff2003897455dadb9609f18b (diff)
swscale: x86: Hide arch-specific initialization details
Also give consistent names to init functions.
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index b51044606b..7e17fcc0e3 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -560,8 +560,8 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
{
SwsFunc t = NULL;
- if (HAVE_MMX)
- t = ff_yuv2rgb_init_mmx(c);
+ if (ARCH_X86)
+ t = ff_yuv2rgb_init_x86(c);
else if (HAVE_VIS)
t = ff_yuv2rgb_init_vis(c);
else if (HAVE_ALTIVEC)