diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-07-17 20:19:24 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-07-18 00:31:35 +0200 |
commit | 3ac7fa81b2383ff2697e5d1a76ff79be205f011a (patch) | |
tree | d080e675151c826cad78a3a645a64bfd95732dbb /libavcodec/ppc | |
parent | b6293e2798afab60596a87010b6163fcb4ca3086 (diff) | |
download | ffmpeg-3ac7fa81b2383ff2697e5d1a76ff79be205f011a.tar.gz |
Consistently use "cpu_flags" as variable/parameter name for CPU flags
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/hpeldsp_altivec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ppc/hpeldsp_altivec.c b/libavcodec/ppc/hpeldsp_altivec.c index 69c2777d70..cbec12a071 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; |