mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
Print a space after the AVClass prefix.
This improves readability a bit. Originally committed as revision 23767 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d6a9349062
commit
50061b6234
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user