Revision 63de9e7d

View differences:

libavutil/log.c
91 91
    line[0]=0;
92 92
#undef fprintf
93 93
    if(print_prefix && avc) {
94
        if(avc->version >= (50<<16 | 15<<8 | 3) && avc->parent_log_context_offset){
94
        if (avc->parent_log_context_offset) {
95 95
            AVClass** parent= *(AVClass***)(((uint8_t*)ptr) + avc->parent_log_context_offset);
96 96
            if(parent && *parent){
97 97
                snprintf(line, sizeof(line), "[%s @ %p] ", (*parent)->item_name(parent), parent);

Also available in: Unified diff