]> git.sesse.net Git - vlc/blobdiff - src/vlc.c
mediacontrol: get_stream_information returns an empty url field if no media is set
[vlc] / src / vlc.c
index b8dd9bb9586876aa049143363252c0f4a79ae8da..394c4b0a0ebd5627f83bda0c3d900d9791265659 100644 (file)
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -92,7 +92,7 @@ int main( int i_argc, const char *ppsz_argv[] )
 #endif
 
 #ifdef HAVE_PUTENV
-#   ifdef DEBUG
+#   ifndef NDEBUG
     /* Activate malloc checking routines to detect heap corruptions. */
     putenv( (char*)"MALLOC_CHECK_=2" );
 #       ifdef __APPLE__
@@ -215,7 +215,7 @@ int main( int i_argc, const char *ppsz_argv[] )
         return i_ret == VLC_EEXITSUCCESS ? 0 : -i_ret;
     }
 
-    i_ret = VLC_AddIntf( 0, NULL, VLC_TRUE, VLC_TRUE );
+    i_ret = VLC_AddIntf( 0, NULL, true, true );
 
     /* Finish the threads */
     VLC_CleanUp( 0 );