]> git.sesse.net Git - vlc/commitdiff
Fix building when VLM is disable
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 17 Jul 2008 19:25:18 +0000 (20:25 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 17 Jul 2008 19:51:45 +0000 (20:51 +0100)
Closes #1718

src/libvlc.c

index 7340e365f8634e003cca0401c586559986fbd691..b10d13e1727fbadabe2ac253f19a4423c4894596 100644 (file)
@@ -795,7 +795,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     }
     free( psz_modules );
 
-#ifdef ENABLE_SOUT
+#ifdef ENABLE_VLM
     /* Initialize VLM if vlm-conf is specified */
     psz_parser = config_GetPsz( p_libvlc, "vlm-conf" );
     if( psz_parser && *psz_parser )
@@ -989,7 +989,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
         vlc_object_release( p_intf ); /* for vlc_object_find() */
     }
 
-#ifdef ENABLE_SOUT
+#ifdef ENABLE_VLM
     /* Destroy VLM if created in libvlc_InternalInit */
     if( priv->p_vlm )
     {