[vlc-commits] ASF: don't print debug infos in releases

Jean-Baptiste Kempf git at videolan.org
Thu Jan 17 14:16:46 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 17 14:15:17 2013 +0100| [740edcdc37daa92b035cd6909005afe22133b911] | committer: Jean-Baptiste Kempf

ASF: don't print debug infos in releases

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

 modules/demux/asf/libasf.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index 6144939..423a2af 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -30,7 +30,9 @@
 
 #include "libasf.h"
 
-#define ASF_DEBUG 1
+#ifndef NDEBUG
+# define ASF_DEBUG 1
+#endif
 
 /* Helpers:
  * They ensure that invalid reads will not create problems.



More information about the vlc-commits mailing list