summaryrefslogtreecommitdiff
blob: bb7240eac0b19038953e34bce69c952bcdae3fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
https://bugs.gentoo.org/377837
http://lists-archives.org/mplayer-dev-eng/34349-compiling-mplayer-with-gcc-4-6-broken-audio-decoding.html

--- a/mp3lib/dct64_sse.c
+++ b/mp3lib/dct64_sse.c
@@ -112,7 +112,6 @@ void dct64_sse(short *out0,short *out1,real *c)
     }
 
     {
-        real *costab = costab_mmx + 24;
         int i;
 
         __asm__(
@@ -121,7 +120,7 @@ void dct64_sse(short *out0,short *out1,real *c)
             "movaps    %1, %%xmm5\n\t"
             "movaps    %%xmm5, %%xmm6\n\t"
             :
-            :"m"(*costab), "m"(*nnnn)
+            :"m"(costab_mmx[24]), "m"(*nnnn)
            );
 
         for (i = 0; i < 0x20; i += 8)