diff options
author | Matthias Hopf <mat@mshopf.de> | 2006-05-22 17:04:35 +0000 |
---|---|---|
committer | Matthias Hopf <mat@mshopf.de> | 2006-05-22 17:04:35 +0000 |
commit | d2f17fd0d8a2fbb8f0cc363cb4e167e2a2c12012 (patch) | |
tree | 8c2963260818f56a5b220103916cd7b047c5eefa | |
parent | d0e011c74faafd5ae9c64ea5dddf69aaa8ddab88 (diff) | |
download | xine-lib-d2f17fd0d8a2fbb8f0cc363cb4e167e2a2c12012.tar.gz xine-lib-d2f17fd0d8a2fbb8f0cc363cb4e167e2a2c12012.tar.bz2 |
Fixed undefined symbol [SUSE #173413] (Andreas Schwab).
CVS patchset: 7995
CVS date: 2006/05/22 17:04:35
-rw-r--r-- | src/libmpeg2/idct_altivec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libmpeg2/idct_altivec.c b/src/libmpeg2/idct_altivec.c index ffac29025..d5737331d 100644 --- a/src/libmpeg2/idct_altivec.c +++ b/src/libmpeg2/idct_altivec.c @@ -489,7 +489,7 @@ void mpeg2_idct_add_altivec (int16_t * block, uint8_t * dest, int stride) ); } -static int16_t constants[5][8] ATTR_ALIGN(16) = { +static int16_t constants[5][8] ATTR_ALIGN(16) __attribute__((used)) = { {23170, 13573, 6518, 21895, -23170, -21895, 32, 31}, {16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725}, {22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521}, @@ -501,8 +501,6 @@ void mpeg2_idct_altivec_init (void) { int i, j; - i = constants[0][0]; /* just pretending - keeps gcc happy */ - /* the altivec idct uses a transposed input, so we patch scan tables */ for (i = 0; i < 64; i++) { j = mpeg2_scan_norm[i]; |