OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4342a7f
)
Print the address of the AVCodecContext in av_log().
author
Alexander Strange
<astrange@ithinksw.com>
Tue, 15 Jul 2008 17:17:35 +0000
(17:17 +0000)
committer
Alexander Strange
<astrange@ithinksw.com>
Tue, 15 Jul 2008 17:17:35 +0000
(17:17 +0000)
This makes debug output much easier to read when the
same codec is open more than once.
Originally committed as revision 14237 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/log.c
patch
|
blob
|
history
diff --git
a/libavutil/log.c
b/libavutil/log.c
index
fed0ce8
..
aadcf90
100644
(file)
--- a/
libavutil/log.c
+++ b/
libavutil/log.c
@@
-36,7
+36,7
@@
void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
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