[MPlayer-cvslog] r24913 - in trunk/libmpcodecs: dec_audio.c dec_audio.h
uau
subversion at mplayerhq.hu
Thu Nov 1 07:51:49 CET 2007
Author: uau
Date: Thu Nov 1 07:51:49 2007
New Revision: 24913
Log:
dec_audio.c: Make some functions static
Modified:
trunk/libmpcodecs/dec_audio.c
trunk/libmpcodecs/dec_audio.h
Modified: trunk/libmpcodecs/dec_audio.c
==============================================================================
--- trunk/libmpcodecs/dec_audio.c (original)
+++ trunk/libmpcodecs/dec_audio.c Thu Nov 1 07:51:49 2007
@@ -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_audi
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;
Modified: trunk/libmpcodecs/dec_audio.h
==============================================================================
--- trunk/libmpcodecs/dec_audio.h (original)
+++ trunk/libmpcodecs/dec_audio.h Thu Nov 1 07:51:49 2007
@@ -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);
More information about the MPlayer-cvslog
mailing list