Mercurial > mplayer.hg
diff mplayer.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | e4c79edf2be9 |
children | 14695e4f37fc |
line wrap: on
line diff
--- a/mplayer.c Wed Aug 13 16:01:53 2003 +0000 +++ b/mplayer.c Wed Aug 13 16:29:32 2003 +0000 @@ -138,9 +138,9 @@ // Config file //**************************************************************************// -static int cfg_inc_verbose(struct config *conf){ ++verbose; return 0;} - -static int cfg_include(struct config *conf, char *filename){ +static int cfg_inc_verbose(m_option_t *conf){ ++verbose; return 0;} + +static int cfg_include(m_option_t *conf, char *filename){ return m_config_parse_config_file(mconfig, filename); }