summaryrefslogtreecommitdiff
path: root/libavcodec/utils.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 /libavcodec/utils.c
parent0bc308de56947f2f8580b974ee8631b27a726cd6 (diff)
use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index fdfa7bd4e4..290814dcca 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1139,7 +1139,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
" [PAR %d:%d DAR %d:%d]",
enc->sample_aspect_ratio.num, enc->sample_aspect_ratio.den,
display_aspect_ratio.num, display_aspect_ratio.den);
- if(av_log_level >= AV_LOG_DEBUG){
+ if(av_log_get_level() >= AV_LOG_DEBUG){
int g= ff_gcd(enc->time_base.num, enc->time_base.den);
snprintf(buf + strlen(buf), buf_size - strlen(buf),
", %d/%d",