[vlc-commits] mp4: ifdef debug under MP4_VERBOSE

Jean-Baptiste Kempf git at videolan.org
Wed Aug 24 23:29:28 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 24 22:49:18 2011 +0200| [494968471905efa112b9a160888c747f464b2a41] | committer: Jean-Baptiste Kempf

mp4: ifdef debug under MP4_VERBOSE

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

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

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 51efe16..4c66009 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1433,8 +1433,10 @@ static int MP4_ReadBox_sample_soun( stream_t *p_stream, MP4_Box_t *p_box )
         p_box->data.p_sample_soun->i_bytes_per_frame = 0;
         p_box->data.p_sample_soun->i_bytes_per_sample = 0;
 
+#ifdef MP4_VERBOSE
         msg_Dbg( p_stream, "read box: \"soun\" mp4 or qt1/2 (rest=%"PRId64")",
                  i_read );
+#endif
         stream_Seek( p_stream, p_box->i_pos +
                         MP4_BOX_HEADERSIZE( p_box ) + 28 );
     }



More information about the vlc-commits mailing list