diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-13 11:00:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-13 11:06:34 +0000 |
commit | 5c9e8564ce71a8b229e70b4d54d748bfc7345fb1 (patch) | |
tree | 443c674d6c783b25aff4806e02b95324ff3e55cf /main/mplayer/mplayer-gcc-4.6-audio-fix.patch | |
parent | ba719d421f2dc6f0588402e6375e4bca34d3daa2 (diff) | |
download | aports-5c9e8564ce71a8b229e70b4d54d748bfc7345fb1.tar.bz2 aports-5c9e8564ce71a8b229e70b4d54d748bfc7345fb1.tar.xz |
main/mplayer: fix audio decoding with gcc-4.6
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2011-May/068495.html
and remove unused patch
Diffstat (limited to 'main/mplayer/mplayer-gcc-4.6-audio-fix.patch')
-rw-r--r-- | main/mplayer/mplayer-gcc-4.6-audio-fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/mplayer/mplayer-gcc-4.6-audio-fix.patch b/main/mplayer/mplayer-gcc-4.6-audio-fix.patch new file mode 100644 index 000000000..148856c23 --- /dev/null +++ b/main/mplayer/mplayer-gcc-4.6-audio-fix.patch @@ -0,0 +1,22 @@ +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) |