[FFmpeg-cvslog] r14237 - trunk/libavutil/log.c
astrange
subversion
Tue Jul 15 19:17:35 CEST 2008
Author: astrange
Date: Tue Jul 15 19:17:35 2008
New Revision: 14237
Log:
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.
Modified:
trunk/libavutil/log.c
Modified: trunk/libavutil/log.c
==============================================================================
--- trunk/libavutil/log.c (original)
+++ trunk/libavutil/log.c Tue Jul 15 19:17:35 2008
@@ -36,7 +36,7 @@ void av_log_default_callback(void* ptr,
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
More information about the ffmpeg-cvslog
mailing list