]> git.sesse.net Git - vlc/blobdiff - src/control/core.c
vlc-config external also includes libvlc-control
[vlc] / src / control / core.c
index 8d4426e8f553f77080076700e31a71b6b6689267..1e8aae6bd34d201be52a6b0ddd908bda6698d81f 100644 (file)
@@ -58,7 +58,7 @@ inline char* libvlc_exception_get_message( libvlc_exception_t *p_exception )
 }
 
 inline void libvlc_exception_raise( libvlc_exception_t *p_exception,
-                                    char *psz_format, ... )
+                                    const char *psz_format, ... )
 {
     va_list args;
 
@@ -91,13 +91,14 @@ libvlc_instance_t * libvlc_new( int argc, char **argv,
     if( !p_new ) RAISENULL( "Out of memory" );
 
     /** \todo Look for interface settings. If we don't have any, add -I dummy */
-    /* Because we probably don't want a GUI by default */
+    /* Because we probably don't want a GUI by default */    
 
     if( libvlc_InternalInit( p_libvlc_int, argc, argv ) )
         RAISENULL( "VLC initialization failed" );
 
     p_new->p_libvlc_int = p_libvlc_int;
     p_new->p_vlm = NULL;
+
     return p_new;
 }