Mercurial > libavutil.hg
changeset 520:9354d19413f3 libavutil
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.
author | astrange |
---|---|
date | Tue, 15 Jul 2008 17:17:35 +0000 |
parents | 5cdb952bd09a |
children | 73bbedff8e92 |
files | log.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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