Mercurial > libavcodec.hg
changeset 6012:085be73cb51c libavcodec
use av_log_get/set_level()
author | mru |
---|---|
date | Wed, 12 Dec 2007 21:48:50 +0000 |
parents | b1fe945d73f9 |
children | af8951e74098 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Wed Dec 12 18:40:11 2007 +0000 +++ b/utils.c Wed Dec 12 21:48:50 2007 +0000 @@ -1139,7 +1139,7 @@ " [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",