From 4728357b58f053c28abf9bfb5e938f4dc7556790 Mon Sep 17 00:00:00 2001 From: reynaldo Date: Sun, 9 Jul 2006 17:45:36 +0000 Subject: Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2 --- codec-cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codec-cfg.c') diff --git a/codec-cfg.c b/codec-cfg.c index 588baa06b0..21c3b89862 100644 --- a/codec-cfg.c +++ b/codec-cfg.c @@ -486,7 +486,7 @@ static codecs_t *audio_codecs=NULL; static int nr_vcodecs = 0; static int nr_acodecs = 0; -int parse_codec_cfg(char *cfgfile) +int parse_codec_cfg(const char *cfgfile) { codecs_t *codec = NULL; // current codec codecs_t **codecsp = NULL;// points to audio_codecs or to video_codecs -- cgit v1.2.3