Remove a version check in av_log made unnecessary by the big bump.
authorDiego Biurrun <diego@biurrun.de>
Wed, 20 Apr 2011 15:18:27 +0000 (17:18 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 20 Apr 2011 16:19:04 +0000 (18:19 +0200)
libavutil/log.c

index 72d2b914bdb5ed9c8b6f550aea50b77f40e76f40..deab11965dee28aecd411819070b77b022c6186b 100644 (file)
@@ -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) {
     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);
             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);