summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-12-12 21:48:50 +0000
committerMåns Rullgård <mans@mansr.com>2007-12-12 21:48:50 +0000
commita309073bf44e58868e4124900ddcecc2aefbdf3b (patch)
treeca934d627e3d6551416fce079bc56d6768e30491 /ffmpeg.c
parent0bc308de56947f2f8580b974ee8631b27a726cd6 (diff)
use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7a8dcac385..9712a31fb1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2169,7 +2169,7 @@ static int opt_default(const char *opt, const char *arg){
#endif
if(avctx_opts[0]->debug)
- av_log_level = AV_LOG_DEBUG;
+ av_log_set_level(AV_LOG_DEBUG);
return 0;
}
@@ -2186,7 +2186,7 @@ static void opt_me_threshold(const char *arg)
static void opt_verbose(const char *arg)
{
verbose = atoi(arg);
- av_log_level = atoi(arg);
+ av_log_set_level(atoi(arg));
}
static void opt_frame_rate(const char *arg)