From: Christophe Mutricy Date: Thu, 17 Jul 2008 19:25:18 +0000 (+0100) Subject: Fix building when VLM is disable X-Git-Tag: 0.9.0-test3~399 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8134316d83a2a54065ecb48179f93ecdec8b32a1;p=vlc Fix building when VLM is disable Closes #1718 --- diff --git a/src/libvlc.c b/src/libvlc.c index 7340e365f8..b10d13e172 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -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 ) {