aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/dsputil_ppc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-06-08 02:41:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-06-08 02:41:41 +0000
commit78421be13d6cab4b09ef7207511556e2dbea359f (patch)
treef1b54b51aee3eb0925757cb7a184ef6ee2b6f8ee /libavcodec/ppc/dsputil_ppc.c
parent1ec4df0fa87dcd01c58555ec2b7250641ccad409 (diff)
downloadffmpeg-78421be13d6cab4b09ef7207511556e2dbea359f.tar.gz
hadamard/AltiVec: fix to compiler fix, again by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3207 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r--libavcodec/ppc/dsputil_ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c
index da4336c518..ea1d499e46 100644
--- a/libavcodec/ppc/dsputil_ppc.c
+++ b/libavcodec/ppc/dsputil_ppc.c
@@ -278,7 +278,7 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
c->gmc1 = gmc1_altivec;
-#if (__GNUC__ * 100 + __GNUC_MINOR__ * 10 >= 330)
+#ifdef CONFIG_DARWIN // ATM gcc-3.3 and gcc-3.4 fail to compile these in linux...
c->hadamard8_diff[0] = hadamard8_diff16_altivec;
c->hadamard8_diff[1] = hadamard8_diff8x8_altivec;
#endif