aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-03 23:27:37 +0000
committerGravatar reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-03 23:27:37 +0000
commit132173bbf0606f2ad90231e74eedda4382db4cf7 (patch)
tree2cddefee9c4d354d3c0eed7d2214581725b5097e /libmpcodecs
parenta8e3cea4b3e3b960649274387e36ff732cd1eeb0 (diff)
get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/dec_audio.c2
-rw-r--r--libmpcodecs/dec_video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c
index 37ab41875b..d5601ae5c3 100644
--- a/libmpcodecs/dec_audio.c
+++ b/libmpcodecs/dec_audio.c
@@ -199,7 +199,7 @@ int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status){
return 0;
}
-extern char *get_path(char *filename);
+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};
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c
index cd929c7b0f..cba3693e46 100644
--- a/libmpcodecs/dec_video.c
+++ b/libmpcodecs/dec_video.c
@@ -251,7 +251,7 @@ int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){
return 0;
}
-extern char *get_path(char *filename);
+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};