[vlc-devel] commit: Fix building when VLM is disable (Christophe Mutricy )

git version control git at videolan.org
Thu Jul 17 21:50:07 CEST 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Thu Jul 17 20:25:18 2008 +0100| [8134316d83a2a54065ecb48179f93ecdec8b32a1]

Fix building when VLM is disable

Closes #1718

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8134316d83a2a54065ecb48179f93ecdec8b32a1
---

 src/libvlc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 7340e36..b10d13e 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 )
     {




More information about the vlc-devel mailing list