Mercurial > mplayer.hg
diff mp3lib/decod386.c @ 1258:50b8a3a5eeed
Portability and old binutils support
author | nick |
---|---|
date | Tue, 03 Jul 2001 07:50:52 +0000 |
parents | 03b7e2955a20 |
children | 2052e18abd9d |
line wrap: on
line diff
--- a/mp3lib/decod386.c Mon Jul 02 22:53:22 2001 +0000 +++ b/mp3lib/decod386.c Tue Jul 03 07:50:52 2001 +0000 @@ -107,14 +107,15 @@ 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 @@ real *b0,(*buf)[0x110]; int clip = 0; int bo1; - +#ifdef ARCH_X86 if ( synth_func ) { int ret; @@ -133,7 +134,7 @@ *pnt+=128; return ret; } - +#endif if(!channel) { /* channel=0 */ bo--; bo &= 0xf;