# HG changeset patch # User astrange # Date 1216142255 0 # Node ID 9354d19413f36a4a3f593283285c5d87ded3d7e5 # Parent 5cdb952bd09a781fb34027b1f91147284ce9719b Print the address of the AVCodecContext in av_log(). This makes debug output much easier to read when the same codec is open more than once. diff -r 5cdb952bd09a -r 9354d19413f3 log.c --- a/log.c Sun Jul 13 19:59:44 2008 +0000 +++ b/log.c Tue Jul 15 17:17:35 2008 +0000 @@ -36,7 +36,7 @@ return; #undef fprintf if(print_prefix && avc) { - fprintf(stderr, "[%s @ %p]", avc->item_name(ptr), avc); + fprintf(stderr, "[%s @ %p]", avc->item_name(ptr), ptr); } #define fprintf please_use_av_log