aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-20 17:18:27 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-20 18:19:04 +0200
commit63de9e7d80ac3609fe378c5cadd5e899185846a7 (patch)
treea390623f555324e8d80a0506d2aa0a8c6a2c903a
parent53f7628d38b8884016042f0d9527c71611d9182e (diff)
downloadffmpeg-63de9e7d80ac3609fe378c5cadd5e899185846a7.tar.gz
Remove a version check in av_log made unnecessary by the big bump.
-rw-r--r--libavutil/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index 72d2b914bd..deab11965d 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);