1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Change return type of opt_loglevel() from void to int.

Patch by Wolfram Gloger: wmglo (your at here) dent med uni (minus) muenchen de

Originally committed as revision 18678 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Wolfram Gloger 2009-04-24 11:56:23 +00:00 committed by Benoit Fouet
parent 96c5bc46d2
commit 4eac2e8901

View File

@ -2337,10 +2337,11 @@ static int opt_me_threshold(const char *opt, const char *arg)
return 0; return 0;
} }
static void opt_loglevel(const char *opt, const char *arg) static int opt_loglevel(const char *opt, const char *arg)
{ {
int level = parse_number_or_die(opt, arg, OPT_INT, INT_MIN, INT_MAX); int level = parse_number_or_die(opt, arg, OPT_INT, INT_MIN, INT_MAX);
av_log_set_level(level); av_log_set_level(level);
return 0;
} }
static int opt_verbose(const char *opt, const char *arg) static int opt_verbose(const char *opt, const char *arg)