From ab1c6dc95c72181f93a9863ad87f238b530bec7b Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Thu, 8 Feb 2007 18:55:36 +0000 Subject: Directly access av_log_level instead of calling av_log_{set, get}_level() (which will be removed at the next avutil version increment) Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 5542d6457b..bb0b577c45 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2084,7 +2084,7 @@ static void opt_me_threshold(const char *arg) static void opt_verbose(const char *arg) { verbose = atoi(arg); - av_log_set_level(atoi(arg)); + av_log_level = atoi(arg); } static void opt_frame_rate(const char *arg) @@ -3676,7 +3676,7 @@ static int opt_default(const char *opt, const char *arg){ #endif if(avctx_opts->debug) - av_log_set_level(AV_LOG_DEBUG); + av_log_level = AV_LOG_DEBUG; return 0; } -- cgit v1.2.3