vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Dec  5 
13:53:10 2012 +0100| [470c3fb18d262359a27eacb3b23a7ce3ef88098c] | committer: 
Jean-Baptiste Kempf

MP4: enable debug with debug builds

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

 modules/demux/mp4/libmp4.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 58c767c..88de85a 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -263,8 +263,9 @@
 #define ATOM_chap VLC_FOURCC( 'c', 'h', 'a', 'p' )
 
 /* Do you want some debug information on all read boxes ? */
-//#define MP4_VERBOSE  1
-
+#ifndef NDEBUG
+# define MP4_VERBOSE  1
+#endif
 
 struct MP4_Box_s;
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to