[vlc-commits] MP4: better debug message with VERBOSITY activated

Jean-Baptiste Kempf git at videolan.org
Fri Apr 6 15:47:09 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr  6 15:46:11 2012 +0200| [f33918cf4b8dfa209b82d960cb32c67c56acb2c4] | committer: Jean-Baptiste Kempf

MP4: better debug message with VERBOSITY activated

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

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

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index e4d1fca..6fcf658 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1381,8 +1381,8 @@ static int MP4_ReadBox_dvc1( stream_t *p_stream, MP4_Box_t *p_box )
 
 #ifdef MP4_VERBOSE
     msg_Dbg( p_stream,
-             "read box: \"dvc1\" profile=0x%x level=0x%x",
-             p_dvc1->i_profile_level & 0xf0 >> 4, p_dvc1->i_profile_level & 0xe > 1 );
+             "read box: \"dvc1\" profile=%i level=%i",
+             p_dvc1->i_profile_level & 0xf0 >> 4, p_dvc1->i_profile_level & 0x0e >> 1 );
 #endif
 
     MP4_READBOX_EXIT( 1 );



More information about the vlc-commits mailing list