Mercurial > mplayer.hg
diff codec-cfg.h @ 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 | 7e3f1d22e43c |
children | 91c7509c7940 |
line wrap: on
line diff
--- a/codec-cfg.h Sun Jul 09 17:00:23 2006 +0000 +++ b/codec-cfg.h Sun Jul 09 17:45:36 2006 +0000 @@ -58,7 +58,7 @@ short cpuflags; } codecs_t; -int parse_codec_cfg(char *cfgfile); +int parse_codec_cfg(const char *cfgfile); codecs_t* find_video_codec(unsigned int fourcc, unsigned int *fourccmap, codecs_t *start, int force); codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap,