diff codec-cfg.c @ 18980:ed69754aa58d

Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
author reynaldo
date Sun, 09 Jul 2006 17:45:36 +0000
parents 1dcf0ea2f7ba
children a2f20562aac3
line wrap: on
line diff
--- a/codec-cfg.c	Sun Jul 09 17:00:23 2006 +0000
+++ b/codec-cfg.c	Sun Jul 09 17:45:36 2006 +0000
@@ -486,7 +486,7 @@
 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