[vlc-commits] commit: Lower the noise level ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sun Apr 11 18:58:39 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 11 19:58:24 2010 +0300| [91bcac559fc638fa905e2f87e1eb8341fb2c6b55] | committer: Rémi Denis-Courmont
Lower the noise level
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91bcac559fc638fa905e2f87e1eb8341fb2c6b55
---
bin/override.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/bin/override.c b/bin/override.c
index 113a638..654f2cf 100644
--- a/bin/override.c
+++ b/bin/override.c
@@ -38,6 +38,9 @@ void vlc_enable_override (void);
#ifdef HAVE_EXECINFO_H
# include <execinfo.h>
#endif
+#ifdef NDEBUG
+# undef HAVE_BACKTRACE
+#endif
static bool override = false;
@@ -56,7 +59,7 @@ static void vlogbug (const char *level, const char *func, const char *fmt,
va_list ap)
{
#ifdef HAVE_BACKTRACE
- const size_t framec = 8;
+ const size_t framec = 4;
void *framev[framec];
backtrace (framev, framec);
More information about the vlc-commits
mailing list