diff ppc/mpegvideo_altivec.c @ 7373:266d4949aa15 libavcodec

Remove AltiVec vector declaration compiler compatibility macros. The original problem was that FSF and Apple gcc used a different syntax for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support the standard {} syntax and versions that support {} are available on all relevant Mac OS X versions. Thus the greater compatibility is no longer worth cluttering the code with macros.
author diego
date Thu, 24 Jul 2008 10:53:32 +0000
parents a8a79f5385f6
children 0d108ec85620
line wrap: on
line diff
--- a/ppc/mpegvideo_altivec.c	Thu Jul 24 04:29:23 2008 +0000
+++ b/ppc/mpegvideo_altivec.c	Thu Jul 24 10:53:32 2008 +0000
@@ -66,7 +66,7 @@
 }
 
 
-#define FOUROF(a) AVV(a,a,a,a)
+#define FOUROF(a) {a,a,a,a}
 
 int dct_quantize_altivec(MpegEncContext* s,
                          DCTELEM* data, int n,