aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/fdct_altivec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-07-08 16:02:20 +0000
committerDiego Biurrun <diego@biurrun.de>2008-07-08 16:02:20 +0000
commit716e7c0f0ba7c22296d84e212b75ebcb24228be2 (patch)
tree6f1eb39816fe847a2d7c39ac8d5b5953d597b10b /libavcodec/ppc/fdct_altivec.c
parent76ec3939e6dc58e9002c46170d3861a707cfbec9 (diff)
downloadffmpeg-716e7c0f0ba7c22296d84e212b75ebcb24228be2.tar.gz
Remove wrong casts from vector declarations, this would cause errors when
compiling with -std=gnu99. Blessed by Luca Barbato. Originally committed as revision 14129 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 be6e4dabb4..ed2903f163 100644
--- a/libavcodec/ppc/fdct_altivec.c
+++ b/libavcodec/ppc/fdct_altivec.c
@@ -58,9 +58,9 @@
static vector float fdctconsts[3] = {
- (vector float)AVV( W0, W1, W2, W3 ),
- (vector float)AVV( W4, W5, W6, W7 ),
- (vector float)AVV( W8, W9, WA, WB )
+ AVV( W0, W1, W2, W3 ),
+ AVV( W4, W5, W6, W7 ),
+ AVV( W8, W9, WA, WB )
};
#define LD_W0 vec_splat(cnsts0, 0)