[FFmpeg-cvslog] Remove a version check in av_log made unnecessary by the big bump.

Diego Biurrun git at videolan.org
Thu Apr 21 03:40:33 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Apr 20 17:18:27 2011 +0200| [63de9e7d80ac3609fe378c5cadd5e899185846a7] | committer: Diego Biurrun

Remove a version check in av_log made unnecessary by the big bump.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=63de9e7d80ac3609fe378c5cadd5e899185846a7
---

 libavutil/log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/log.c b/libavutil/log.c
index 72d2b91..deab119 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -91,7 +91,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
     line[0]=0;
 #undef fprintf
     if(print_prefix && avc) {
-        if(avc->version >= (50<<16 | 15<<8 | 3) && avc->parent_log_context_offset){
+        if (avc->parent_log_context_offset) {
             AVClass** parent= *(AVClass***)(((uint8_t*)ptr) + avc->parent_log_context_offset);
             if(parent && *parent){
                 snprintf(line, sizeof(line), "[%s @ %p] ", (*parent)->item_name(parent), parent);



More information about the ffmpeg-cvslog mailing list