From 4eac2e89010719f9c913217e8d2d6feeb2e6d446 Mon Sep 17 00:00:00 2001 From: Wolfram Gloger Date: Fri, 24 Apr 2009 11:56:23 +0000 Subject: [PATCH] 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 --- ffmpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index f6923c54a0..ac42677196 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2337,10 +2337,11 @@ static int opt_me_threshold(const char *opt, const char *arg) 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); av_log_set_level(level); + return 0; } static int opt_verbose(const char *opt, const char *arg)