Merge commit 'c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19'
[ffmpeg.git] / libswscale / utils.c
index 4c9b4ab..fa3f38e 100644 (file)
@@ -991,9 +991,9 @@ int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],
                              contrast, saturation);
     // FIXME factorize
 
-    if (PPC_ALTIVEC(av_get_cpu_flags()))
-        ff_yuv2rgb_init_tables_altivec(c, inv_table, brightness,
-                                       contrast, saturation);
+    if (ARCH_PPC)
+        ff_yuv2rgb_init_tables_ppc(c, inv_table, brightness,
+                                   contrast, saturation);
     }
 
     fill_rgb2yuv_table(c, table, dstRange);