Commit 926ac6d4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ASF: better logging and more consistent with MKV/MP4 demux

parent c2773039
...@@ -1440,12 +1440,12 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj, ...@@ -1440,12 +1440,12 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj,
return; return;
memset( str, ' ', sizeof( str ) ); memset( str, ' ', sizeof( str ) );
for( i = 1; i < i_level; i++ ) for( i = 0; i < i_level; i++ )
{ {
str[i * 5] = '|'; str[i * 4] = '|';
} }
snprintf( &str[5*i_level], sizeof(str) - 5*i_level, snprintf( &str[4*i_level], sizeof(str) - 5*i_level,
"+ '%s' GUID "GUID_FMT" size:%"PRIu64"pos:%"PRIu64, "+ '%s' GUID "GUID_FMT" size:%"PRIu64" pos:%"PRIu64,
psz_name, psz_name,
GUID_PRINT( p_node->i_object_id ), GUID_PRINT( p_node->i_object_id ),
p_node->i_object_size, p_node->i_object_pos ); p_node->i_object_size, p_node->i_object_pos );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment