diff ppc/dsputil_ppc.c @ 2056:31bf68b1792b libavcodec

hadamard/AltiVec: fix to compiler fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
author michael
date Sat, 05 Jun 2004 22:26:03 +0000
parents 1ba490d60bb9
children 4c663228e020
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Sat Jun 05 22:23:55 2004 +0000
+++ b/ppc/dsputil_ppc.c	Sat Jun 05 22:26:03 2004 +0000
@@ -279,7 +279,7 @@
         
 	c->gmc1 = gmc1_altivec;
 
-#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 330)
+#if (__GNUC__ * 100 + __GNUC_MINOR__ * 10 >= 330)
 	c->hadamard8_diff[0] = hadamard8_diff16_altivec;
 	c->hadamard8_diff[1] = hadamard8_diff8x8_altivec;
 #endif