[vlc-commits] demux: mp4: improve debug tree info

Francois Cartegnie git at videolan.org
Fri Dec 13 22:26:04 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 13 00:11:05 2013 +0100| [f1bc711ce012b7044f6782c7f5602667a4c445f7] | committer: Francois Cartegnie

demux: mp4: improve debug tree info

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

 modules/demux/mp4/libmp4.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 3abb940..561f6e0 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -3668,12 +3668,12 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
         }
         if( MP4_BOX_TYPE_ASCII() )
             snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
-                      "+ %4.4s size %d",
-                        (char*)&p_box->i_type, (uint32_t)p_box->i_size );
+                      "+ %4.4s size %"PRIu64" offset %ld",
+                        (char*)&p_box->i_type, p_box->i_size, p_box->i_pos );
         else
             snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
-                      "+ c%3.3s size %d",
-                        (char*)&p_box->i_type+1, (uint32_t)p_box->i_size );
+                      "+ c%3.3s size %"PRIu64" offset %ld",
+                        (char*)&p_box->i_type+1, p_box->i_size, p_box->i_pos );
         msg_Dbg( s, "%s", str );
     }
     p_child = p_box->p_first;



More information about the vlc-commits mailing list