summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-09 17:45:36 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-09 17:45:36 +0000
commit4728357b58f053c28abf9bfb5e938f4dc7556790 (patch)
tree0e80eb644c6dbd42b3a1f937821f32a39e6b939d /codec-cfg.c
parent2efd5b393de605e5e94123ce421e7c52e84a9faa (diff)
downloadmpv-4728357b58f053c28abf9bfb5e938f4dc7556790.tar.bz2
mpv-4728357b58f053c28abf9bfb5e938f4dc7556790.tar.xz
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
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c2
1 files changed, 1 insertions, 1 deletions
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