diff options
author | Jai Menon <jmenon86@gmail.com> | 2010-06-25 04:36:17 +0000 |
---|---|---|
committer | Jai Menon <jmenon86@gmail.com> | 2010-06-25 04:36:17 +0000 |
commit | 50061b62349f46a2783d930086dda1a387de535d (patch) | |
tree | 9508dcdeee7bd8e3db07e0866aa4a77abf40de36 /libavutil | |
parent | d6a93490629007a789d8b7f956caeb978cebb7c4 (diff) | |
download | ffmpeg-50061b62349f46a2783d930086dda1a387de535d.tar.gz |
Print a space after the AVClass prefix.
This improves readability a bit.
Originally committed as revision 23767 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index 5f7034b4e3..9b493367e4 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -94,10 +94,10 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl) if(avc->version >= (50<<16 | 15<<8 | 3) && avc->parent_log_context_offset){ AVClass** parent= *(AVClass***)(((uint8_t*)ptr) + avc->parent_log_context_offset); if(parent && *parent){ - snprintf(line, sizeof(line), "[%s @ %p]", (*parent)->item_name(parent), parent); + snprintf(line, sizeof(line), "[%s @ %p] ", (*parent)->item_name(parent), parent); } } - snprintf(line + strlen(line), sizeof(line) - strlen(line), "[%s @ %p]", avc->item_name(ptr), ptr); + snprintf(line + strlen(line), sizeof(line) - strlen(line), "[%s @ %p] ", avc->item_name(ptr), ptr); } vsnprintf(line + strlen(line), sizeof(line) - strlen(line), fmt, vl); |