]> git.sesse.net Git - vlc/blobdiff - src/vlc.c
#492 bugfix, for SPDIF audio ouput of AC3 and DTS sound on Windows
[vlc] / src / vlc.c
index 3bd21ddc9b509433440e82827b5ba7b588a4db94..b8dd9bb9586876aa049143363252c0f4a79ae8da 100644 (file)
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -95,6 +95,9 @@ int main( int i_argc, const char *ppsz_argv[] )
 #   ifdef DEBUG
     /* Activate malloc checking routines to detect heap corruptions. */
     putenv( (char*)"MALLOC_CHECK_=2" );
+#       ifdef __APPLE__
+    putenv( (char*)"MallocErrorAbort=crash_my_baby_crash" );
+#       endif
 
     /* Disable the ugly Gnome crash dialog so that we properly segfault */
     putenv( (char *)"GNOME_DISABLE_CRASH_DIALOG=1" );