summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/fdct_altivec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-07-24 10:53:32 +0000
committerDiego Biurrun <diego@biurrun.de>2008-07-24 10:53:32 +0000
commit80a61f08d2d6059b0aaffa4c8b8120fb0ab0ca75 (patch)
tree4567552fff1cba203b754fc790485d702414a687 /libavcodec/ppc/fdct_altivec.c
parentec072669f7398f40d8001c8cb0868880569c6cd9 (diff)
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. Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/fdct_altivec.c')
-rw-r--r--libavcodec/ppc/fdct_altivec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ppc/fdct_altivec.c b/libavcodec/ppc/fdct_altivec.c
index ed2903f163..cb7577486b 100644
--- a/libavcodec/ppc/fdct_altivec.c
+++ b/libavcodec/ppc/fdct_altivec.c
@@ -58,9 +58,9 @@
static vector float fdctconsts[3] = {
- AVV( W0, W1, W2, W3 ),
- AVV( W4, W5, W6, W7 ),
- AVV( W8, W9, WA, WB )
+ { W0, W1, W2, W3 },
+ { W4, W5, W6, W7 },
+ { W8, W9, WA, WB }
};
#define LD_W0 vec_splat(cnsts0, 0)