diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 11:20:24 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 11:20:24 +0000 |
commit | 84157efa5ac4ee391e8615db69b07027428e331d (patch) | |
tree | 08118149c7d5e3cf022159765da3f0848da52164 /libmpcodecs | |
parent | 2e2c64dd3adb225800b5bc42cff75cfca67071be (diff) | |
download | mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.bz2 mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.xz |
Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern
declarations by a proper header file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_audio.c | 2 | ||||
-rw-r--r-- | libmpcodecs/dec_video.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 4fc7fac8f4..6976009246 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -202,8 +202,6 @@ int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status){ return 0; } -extern char *get_path(const char *filename); - int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list){ char* ac_l_default[2]={"",(char*)NULL}; // hack: diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index a49e3f160e..bf132c6aa6 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -277,8 +277,6 @@ int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ return 0; } -extern char *get_path(const char *filename); - int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list){ char* vc_l_default[2]={"",(char*)NULL}; // hack: |