Commit 5b91ae5b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ASF: do not display GUID when not in debug mode

parent 926ac6d4
...@@ -1445,10 +1445,18 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj, ...@@ -1445,10 +1445,18 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj,
str[i * 4] = '|'; str[i * 4] = '|';
} }
snprintf( &str[4*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'"
psz_name, #ifdef ASF_DEBUG
GUID_PRINT( p_node->i_object_id ), "GUID "GUID_FMT" size:%"PRIu64" pos:%"PRIu64
p_node->i_object_size, p_node->i_object_pos ); #endif
, psz_name
#ifdef ASF_DEBUG
, GUID_PRINT( p_node->i_object_id ),
p_node->i_object_size, p_node->i_object_pos
#endif
);
msg_Dbg( p_obj, "%s", str ); msg_Dbg( p_obj, "%s", str );
......
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