summaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 0045e2b..3a80eca 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -601,14 +601,14 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
{
SwsFunc t = NULL;
- if (ARCH_X86)
- t = ff_yuv2rgb_init_x86(c);
- else if (HAVE_VIS)
- t = ff_yuv2rgb_init_vis(c);
- else if (ARCH_BFIN)
+ if (ARCH_BFIN)
t = ff_yuv2rgb_init_bfin(c);
- else if (ARCH_PPC)
+ if (ARCH_PPC)
t = ff_yuv2rgb_init_ppc(c);
+ if (HAVE_VIS)
+ t = ff_yuv2rgb_init_vis(c);
+ if (ARCH_X86)
+ t = ff_yuv2rgb_init_x86(c);
if (t)
return t;
OpenPOWER on IntegriCloud