aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-18 09:53:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-18 09:53:47 +0200
commit9d01bf7d66df74fe58d71b7e93e86895270a91c2 (patch)
tree57ccb1be5c5c768f2213e6abab3fba03d32dfcb7 /libavcodec/ppc
parent1816f5509e4f0fd55d32b5dbf70c3be21c1b1515 (diff)
parent3ac7fa81b2383ff2697e5d1a76ff79be205f011a (diff)
downloadffmpeg-9d01bf7d66df74fe58d71b7e93e86895270a91c2.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: Consistently use "cpu_flags" as variable/parameter name for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c libavcodec/x86/mpegvideo.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/hpeldsp_altivec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ppc/hpeldsp_altivec.c b/libavcodec/ppc/hpeldsp_altivec.c
index 19e2aa111c..4f3c4fafc4 100644
--- a/libavcodec/ppc/hpeldsp_altivec.c
+++ b/libavcodec/ppc/hpeldsp_altivec.c
@@ -449,9 +449,7 @@ static void avg_pixels8_xy2_altivec(uint8_t *block, const uint8_t *pixels, ptrdi
av_cold void ff_hpeldsp_init_ppc(HpelDSPContext *c, int flags)
{
#if HAVE_ALTIVEC
- int mm_flags = av_get_cpu_flags();
-
- if (mm_flags & AV_CPU_FLAG_ALTIVEC) {
+ if (av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC) {
c->avg_pixels_tab[0][0] = ff_avg_pixels16_altivec;
c->avg_pixels_tab[1][0] = avg_pixels8_altivec;
c->avg_pixels_tab[1][3] = avg_pixels8_xy2_altivec;