summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-08 14:49:15 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-08 14:49:15 +0200
commitf99eae5c09b9ebbc16c0bd5e2a5dda8e2874d81f (patch)
tree47b12ad54977892975d33f1d8eccb054f0758c92
parent3a233b827783151c4c08985224782f1dcce43a8f (diff)
downloadxine-lib-f99eae5c09b9ebbc16c0bd5e2a5dda8e2874d81f.tar.gz
xine-lib-f99eae5c09b9ebbc16c0bd5e2a5dda8e2874d81f.tar.bz2
Beside the name, constants can't be marked const or gcc miscompiles the Altivec code.
-rw-r--r--src/libmpeg2/idct_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmpeg2/idct_altivec.c b/src/libmpeg2/idct_altivec.c
index 895984c45..ed8b58cfd 100644
--- a/src/libmpeg2/idct_altivec.c
+++ b/src/libmpeg2/idct_altivec.c
@@ -148,7 +148,7 @@
#define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) {a, b, c, d, e, f, g, h}
#endif
-static const vector_s16_t constants[5] = {
+static vector_s16_t constants[5] = {
VEC_S16(23170, 13573, 6518, 21895, -23170, -21895, 32, 31),
VEC_S16(16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725),
VEC_S16(22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521),