[vlc-commits] ASF: better logging and more consistent with MKV/MP4 demux

Jean-Baptiste Kempf git at videolan.org
Sat Apr 28 12:49:01 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 27 20:12:31 2012 +0200| [926ac6d488662cb3ada4882c8c4785a140cee947] | committer: Jean-Baptiste Kempf

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=926ac6d488662cb3ada4882c8c4785a140cee947
---

 modules/demux/asf/libasf.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index 28d890c..d3a0f1b 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -1440,12 +1440,12 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj,
         return;
 
     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,
-             "+ '%s' GUID "GUID_FMT" size:%"PRIu64"pos:%"PRIu64,
+    snprintf( &str[4*i_level], sizeof(str) - 5*i_level,
+             "+ '%s' GUID "GUID_FMT" size:%"PRIu64" pos:%"PRIu64,
              psz_name,
              GUID_PRINT( p_node->i_object_id ),
              p_node->i_object_size, p_node->i_object_pos );



More information about the vlc-commits mailing list