aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-29 15:10:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-29 15:10:09 +0200
commit5ff1b588eb4e639f0b3cfeff2118aadb2b43584a (patch)
tree3a23e041ee9ffa0e5c1f9e73f7c75e4dfae5f623 /libswscale/utils.c
parent4399e727237316c6491d800b7053dd44322c0ee7 (diff)
parentc2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19 (diff)
downloadffmpeg-5ff1b588eb4e639f0b3cfeff2118aadb2b43584a.tar.gz
Merge commit 'c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19'
* commit 'c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19': swscale: ppc: Hide arch-specific initialization details Conflicts: libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 4c9b4abe68..fa3f38ee40 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -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);