diff --git a/dlls/winemp3.acm/common.c b/dlls/winemp3.acm/common.c index 2943fd857dc..91ba51acc47 100644 --- a/dlls/winemp3.acm/common.c +++ b/dlls/winemp3.acm/common.c @@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mpeg3); -const struct parameter param = { 1 , 1 , 0 , 0 }; +static const struct parameter param = { 1 , 1 , 0 , 0 }; static const int tabsel_123[2][3][16] = { { {0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,}, @@ -44,7 +44,7 @@ static const int tabsel_123[2][3][16] = { {0,8,16,24,32,40,48,56,64,80,96,112,128,144,160,} } }; -const long freqs[9] = { 44100, 48000, 32000, +static const long freqs[9] = { 44100, 48000, 32000, 22050, 24000, 16000 , 11025 , 12000 , 8000 }; @@ -56,7 +56,7 @@ int pcm_point = 0; #define HDRCMPMASK 0xfffffd00 -int head_check(unsigned long head) +static int head_check(unsigned long head) { if( (head & 0xffe00000) != 0xffe00000) return FALSE; diff --git a/dlls/winemp3.acm/mpg123.h b/dlls/winemp3.acm/mpg123.h index 1648408eaf4..a798eb759e8 100644 --- a/dlls/winemp3.acm/mpg123.h +++ b/dlls/winemp3.acm/mpg123.h @@ -161,9 +161,6 @@ extern void make_decode_tables(long scale); extern void dct64(real *,real *,real *); extern unsigned char *conv16to8; -extern const long freqs[9]; extern real muls[27][64]; extern real decwin[512+32]; extern real *pnts[5]; - -extern const struct parameter param;