mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-01 11:51:16 +02:00
23 lines
556 B
Diff
23 lines
556 B
Diff
Fix broken audio decoding when compiling with gcc-4.6
|
|
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2011-May/068495.html
|
|
|
|
--- ./mp3lib/dct64_sse.c.orig
|
|
+++ ./mp3lib/dct64_sse.c
|
|
@@ -113,7 +113,6 @@
|
|
}
|
|
|
|
{
|
|
- real *costab = costab_mmx + 24;
|
|
int i;
|
|
|
|
__asm__(
|
|
@@ -122,7 +121,7 @@
|
|
"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)
|