summaryrefslogtreecommitdiffstats
path: root/mp3lib/decod386.c
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-03 07:50:52 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-03 07:50:52 +0000
commit58075a06215daeae4c439f4b7b92b7209944faf8 (patch)
treee3283634eb33fed2794eec1cc3be8209ca290639 /mp3lib/decod386.c
parentf96bb9e7e1d5b8e401ddf7265298e909b4e58962 (diff)
downloadmpv-58075a06215daeae4c439f4b7b92b7209944faf8.tar.bz2
mpv-58075a06215daeae4c439f4b7b92b7209944faf8.tar.xz
Portability and old binutils support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1259 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/decod386.c')
-rw-r--r--mp3lib/decod386.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mp3lib/decod386.c b/mp3lib/decod386.c
index 9939886023..fc88ae2851 100644
--- a/mp3lib/decod386.c
+++ b/mp3lib/decod386.c
@@ -107,14 +107,15 @@ static int synth_1to1_r(real *bandPtr,int channel,unsigned char *out,int *pnt)
synth_func_t synth_func;
+#ifdef HAVE_MMX
int synth_1to1_MMX( real *bandPtr,int channel,short * samples)
{
static short buffs[2][2][0x110];
static int bo = 1;
synth_1to1_MMX_s(bandPtr, channel, samples, (short *) buffs, &bo);
return 0;
- }
-
+}
+#endif
static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
{
static real buffs[2][2][0x110];
@@ -125,7 +126,7 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
real *b0,(*buf)[0x110];
int clip = 0;
int bo1;
-
+#ifdef ARCH_X86
if ( synth_func )
{
int ret;
@@ -133,7 +134,7 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
*pnt+=128;
return ret;
}
-
+#endif
if(!channel) { /* channel=0 */
bo--;
bo &= 0xf;