From 593a458f0c491dc22daa68d3d598bb1e8e458221 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 24 Dec 2002 22:33:46 +0000 Subject: fixing that f*cking linker 'bug' e.g. naming config with libmp3lame git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8561 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/decod386.c | 2 +- mp3lib/decode_MMX.c | 2 +- mp3lib/decode_i586.c | 2 +- mp3lib/mpg123.h | 2 +- mp3lib/tabinit.c | 8 ++++---- mp3lib/tabinit_MMX.c | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'mp3lib') diff --git a/mp3lib/decod386.c b/mp3lib/decod386.c index efbcae0f3b..c76d3bb843 100644 --- a/mp3lib/decod386.c +++ b/mp3lib/decod386.c @@ -202,7 +202,7 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt) { register int j; - real *window = decwin + 16 - bo1; + real *window = mp3lib_decwin + 16 - bo1; for (j=16;j;j--,b0+=0x10,window+=0x20,samples+=step) { diff --git a/mp3lib/decode_MMX.c b/mp3lib/decode_MMX.c index 13cafda8a8..5ed21c5a2c 100644 --- a/mp3lib/decode_MMX.c +++ b/mp3lib/decode_MMX.c @@ -86,7 +86,7 @@ __asm __volatile( "leal 1(%%ebx), %%ecx\n\t" "subl %5,%%ebx\n\t" "pushl %%ecx\n\t" - "leal "MANGLE(decwins)"(%%ebx,%%ebx,1), %%edx\n\t" + "leal "MANGLE(mp3lib_decwins)"(%%ebx,%%ebx,1), %%edx\n\t" "shrl $1, %%ecx\n\t" ".balign 16\n\t" ".L03:\n\t" diff --git a/mp3lib/decode_i586.c b/mp3lib/decode_i586.c index a2d0a65b43..946116cb07 100644 --- a/mp3lib/decode_i586.c +++ b/mp3lib/decode_i586.c @@ -79,7 +79,7 @@ int synth_1to1_pent(real *bandPtr, int channel, short *samples) " addl $12,%%esp\n\t" " movl %4,%%edx\n\t" " leal 0(,%%edx,4),%%edx\n\t" -" movl $"MANGLE(decwin)"+64,%%eax\n\t" +" movl $"MANGLE(mp3lib_decwin)"+64,%%eax\n\t" " movl %%eax,%%ecx\n\t" " subl %%edx,%%ecx\n\t" " movl $16,%%ebp\n\t" diff --git a/mp3lib/mpg123.h b/mp3lib/mpg123.h index 4df63614fb..41e667b4f6 100644 --- a/mp3lib/mpg123.h +++ b/mp3lib/mpg123.h @@ -108,7 +108,7 @@ struct III_sideinfo }; static long freqs[9]; -extern real decwin[(512+32)]; +extern real mp3lib_decwin[(512+32)]; extern real *pnts[]; static int do_layer2(struct frame *fr,int single); diff --git a/mp3lib/tabinit.c b/mp3lib/tabinit.c index b6b7a3386b..fd17bd95e6 100644 --- a/mp3lib/tabinit.c +++ b/mp3lib/tabinit.c @@ -1,4 +1,4 @@ -real decwin[(512+32)], cos64[32], cos32[16], cos16[8], cos8[4], cos4[2]; +real mp3lib_decwin[(512+32)], cos64[32], cos32[16], cos16[8], cos8[4], cos4[2]; real *pnts[]={ cos64,cos32,cos16,cos8,cos4 }; static long intwinbase[] = { @@ -42,11 +42,11 @@ void make_decode_tables(long scaleval) for(k=0;k