1
mirror of https://github.com/mpv-player/mpv synced 2025-01-16 22:37:28 +01:00

dec_audio.c: Make some functions static

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24913 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-11-01 06:51:49 +00:00
parent 244bd237fb
commit 9e796deb33
2 changed files with 3 additions and 5 deletions

View File

@ -53,7 +53,7 @@ void afm_help(void)
mpcodecs_ad_drivers[i]->info->name);
}
int init_audio_codec(sh_audio_t *sh_audio)
static int init_audio_codec(sh_audio_t *sh_audio)
{
if ((af_cfg.force & AF_INIT_FORMAT_MASK) == AF_INIT_FLOAT) {
int fmt = AF_FORMAT_FLOAT_NE;
@ -127,7 +127,8 @@ int init_audio_codec(sh_audio_t *sh_audio)
return 1;
}
int init_audio(sh_audio_t *sh_audio, char *codecname, char *afm, int status)
static int init_audio(sh_audio_t *sh_audio, char *codecname, char *afm,
int status)
{
unsigned int orig_fourcc = sh_audio->wf ? sh_audio->wf->wFormatTag : 0;
int force = 0;

View File

@ -1,9 +1,6 @@
// dec_audio.c:
extern void afm_help(void);
//extern int init_best_audio_codec(sh_audio_t *sh_audio,char* audio_codec,char* audio_fm);
extern int init_audio_codec(sh_audio_t *sh_audio);
extern int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status);
extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list);
extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen);
extern void resync_audio_stream(sh_audio_t *sh_audio);