# HG changeset patch # User mru # Date 1197496130 0 # Node ID 085be73cb51cdf5099bdbc8e27f7921b9e6ebe89 # Parent b1fe945d73f9fa482a0c6539d293be33a7d57082 use av_log_get/set_level() diff -r b1fe945d73f9 -r 085be73cb51c utils.c --- 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",