diff options
author | Måns Rullgård <mans@mansr.com> | 2007-12-12 21:48:50 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-12-12 21:48:50 +0000 |
commit | a309073bf44e58868e4124900ddcecc2aefbdf3b (patch) | |
tree | ca934d627e3d6551416fce079bc56d6768e30491 /libavcodec/utils.c | |
parent | 0bc308de56947f2f8580b974ee8631b27a726cd6 (diff) | |
download | ffmpeg-a309073bf44e58868e4124900ddcecc2aefbdf3b.tar.gz |
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.c | 2 |
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", |