Removing annoying 'Reading config file ...' message when you run without verbose mode (-v)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@962 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
lgb 2001-06-03 01:46:28 +00:00
parent 7bbe7c90be
commit 01d07326bb
1 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@
#include "cfgparser.h"
extern int verbose;
static struct config *config;
static int nr_options; /* number of options in 'conf' */
static int parser_mode; /* COMMAND_LINE or CONFIG_FILE */
@ -251,7 +253,7 @@ int parse_config_file(struct config *conf, char *conffile)
return -1;
}
printf("Reading config file: %s", conffile);
if (verbose) printf("Reading config file: %s", conffile);
if (init_conf(conf, CONFIG_FILE) == -1) {
ret = -1;