Mercurial > libavcodec.hg
changeset 4500:18a88f830d1a libavcodec
Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)
author | lucabe |
---|---|
date | Thu, 08 Feb 2007 18:55:36 +0000 |
parents | 40395b1feedb |
children | 665d7cd95fd3 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Wed Feb 07 17:35:36 2007 +0000 +++ b/utils.c Thu Feb 08 18:55:36 2007 +0000 @@ -1102,7 +1102,7 @@ snprintf(buf + strlen(buf), buf_size - strlen(buf), ", %dx%d", enc->width, enc->height); - if(av_log_get_level() >= AV_LOG_DEBUG){ + if(av_log_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",