diff options
author | Luca Abeni <lucabe72@email.it> | 2007-02-08 18:55:36 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-02-08 18:55:36 +0000 |
commit | ab1c6dc95c72181f93a9863ad87f238b530bec7b (patch) | |
tree | 47a6194b976ff0851a2f68c86277ce74ebfaf5d3 /libavcodec/utils.c | |
parent | ff5b8d83601b0c6fa1cc83fe224be10c95c7c4fc (diff) | |
download | ffmpeg-streaming-ab1c6dc95c72181f93a9863ad87f238b530bec7b.zip ffmpeg-streaming-ab1c6dc95c72181f93a9863ad87f238b530bec7b.tar.gz |
Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)
Originally committed as revision 7882 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 61b0297..a9917fd 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1102,7 +1102,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) 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", |