winemp3.acm: Declare some items static.
This commit is contained in:
parent
6ef74bc9c8
commit
6d7e1e7327
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "mpg123.h"
|
||||
|
||||
void I_step_one(unsigned int balloc[], unsigned int scale_index[2][SBLIMIT],struct frame *fr)
|
||||
static void I_step_one(unsigned int balloc[], unsigned int scale_index[2][SBLIMIT],struct frame *fr)
|
||||
{
|
||||
unsigned int *ba=balloc;
|
||||
unsigned int *sca = (unsigned int *) scale_index;
|
||||
|
@ -64,8 +64,8 @@ void I_step_one(unsigned int balloc[], unsigned int scale_index[2][SBLIMIT],stru
|
|||
}
|
||||
}
|
||||
|
||||
void I_step_two(real fraction[2][SBLIMIT],unsigned int balloc[2*SBLIMIT],
|
||||
unsigned int scale_index[2][SBLIMIT],struct frame *fr)
|
||||
static void I_step_two(real fraction[2][SBLIMIT],unsigned int balloc[2*SBLIMIT],
|
||||
unsigned int scale_index[2][SBLIMIT],struct frame *fr)
|
||||
{
|
||||
int i,n;
|
||||
int smpb[2*SBLIMIT]; /* values: 0-65535 */
|
||||
|
|
|
@ -71,7 +71,7 @@ void init_layer2(void)
|
|||
}
|
||||
|
||||
|
||||
void II_step_one(unsigned int *bit_alloc,int *scale,struct frame *fr)
|
||||
static void II_step_one(unsigned int *bit_alloc,int *scale,struct frame *fr)
|
||||
{
|
||||
int stereo = fr->stereo-1;
|
||||
int sblimit = fr->II_sblimit;
|
||||
|
@ -144,7 +144,8 @@ void II_step_one(unsigned int *bit_alloc,int *scale,struct frame *fr)
|
|||
|
||||
}
|
||||
|
||||
void II_step_two(unsigned int *bit_alloc,real fraction[2][4][SBLIMIT],int *scale,struct frame *fr,int x1)
|
||||
static void II_step_two(unsigned int *bit_alloc, real fraction[2][4][SBLIMIT],
|
||||
int *scale, struct frame *fr, int x1)
|
||||
{
|
||||
int i,j,k,ba;
|
||||
int stereo = fr->stereo;
|
||||
|
|
|
@ -48,8 +48,8 @@ struct bandInfoStruct {
|
|||
short shortDiff[13];
|
||||
};
|
||||
|
||||
int longLimit[9][23];
|
||||
int shortLimit[9][14];
|
||||
static int longLimit[9][23];
|
||||
static int shortLimit[9][14];
|
||||
|
||||
static const struct bandInfoStruct bandInfo[9] = {
|
||||
|
||||
|
|
Loading…
Reference in New Issue