[vlc-commits] MP4: enable debug with debug builds
    Jean-Baptiste Kempf 
    git at videolan.org
       
    Wed Dec  5 14:53:59 CET 2012
    
    
  
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | 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;
 
    
    
More information about the vlc-commits
mailing list