diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-08-23 18:50:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-29 11:31:32 +0200 |
commit | a6b650118543e1580e872896d8976042b7c32d01 (patch) | |
tree | 0b788c4e45c5013338a39c93f27123adb44663cf /libavcodec/ppc/vorbisdsp_altivec.c | |
parent | 67e6a9f558fbf7a72137abd0034a3f11249ab8bb (diff) | |
download | ffmpeg-a6b650118543e1580e872896d8976042b7c32d01.tar.gz |
ppc: cosmetics: Consistently format CPU flag detection invocations
Diffstat (limited to 'libavcodec/ppc/vorbisdsp_altivec.c')
-rw-r--r-- | libavcodec/ppc/vorbisdsp_altivec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/ppc/vorbisdsp_altivec.c b/libavcodec/ppc/vorbisdsp_altivec.c index 251be130a9..56a865d94e 100644 --- a/libavcodec/ppc/vorbisdsp_altivec.c +++ b/libavcodec/ppc/vorbisdsp_altivec.c @@ -54,8 +54,9 @@ static void vorbis_inverse_coupling_altivec(float *mag, float *ang, av_cold void ff_vorbisdsp_init_ppc(VorbisDSPContext *c) { #if HAVE_ALTIVEC - if (av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC) { - c->vorbis_inverse_coupling = vorbis_inverse_coupling_altivec; - } + if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC)) + return; + + c->vorbis_inverse_coupling = vorbis_inverse_coupling_altivec; #endif /* HAVE_ALTIVEC */ } |