Make opt_verbose() work again.

Originally committed as revision 13403 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent eccba2bc4b
commit 46eab09341
  1. 2
      ffmpeg.c

@ -2234,7 +2234,7 @@ static int opt_me_threshold(const char *opt, const char *arg)
static int opt_verbose(const char *opt, const char *arg)
{
verbose = parse_number_or_die(opt, arg, OPT_INT64, AV_LOG_QUIET, AV_LOG_DEBUG);
verbose = parse_number_or_die(opt, arg, OPT_INT64, -10, 10);
av_log_set_level(verbose);
return 0;
}

Loading…
Cancel
Save