diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index f9a6f2753a..d0fa3b3fd1 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -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; diff --git a/libmpcodecs/dec_audio.h b/libmpcodecs/dec_audio.h index 0891cab55c..d372a65fc8 100644 --- a/libmpcodecs/dec_audio.h +++ b/libmpcodecs/dec_audio.h @@ -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);