diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-07-24 10:53:32 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-07-24 10:53:32 +0000 |
commit | 80a61f08d2d6059b0aaffa4c8b8120fb0ab0ca75 (patch) | |
tree | 4567552fff1cba203b754fc790485d702414a687 /libavcodec/ppc/fdct_altivec.c | |
parent | ec072669f7398f40d8001c8cb0868880569c6cd9 (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.c | 6 |
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) |