]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/yuv2rgb.c
x86inc: Remove .rodata kludges
[ffmpeg] / libswscale / yuv2rgb.c
index 00af4ee836bf960e2d5d23ecd1118e35f2055136..f939bbebd0ecdf5a430d0f6c94011c81af9c077c 100644 (file)
@@ -560,14 +560,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;