]> git.sesse.net Git - vlc/commitdiff
Unbreak compilation with --disable-sout
authorPierre Ynard <linkfanel@yahoo.fr>
Thu, 16 Oct 2008 10:45:48 +0000 (12:45 +0200)
committerChristophe Mutricy <xtophe@videolan.org>
Fri, 17 Oct 2008 00:11:13 +0000 (01:11 +0100)
The libraries still won't build due to missing symbols though.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
src/input/decoder.c

index 892f00ef23edc66ad33755ccf95599cd69b924b0..e03643b3129087965632344cec2c26a2d3f289c1 100644 (file)
@@ -220,9 +220,7 @@ decoder_t *input_DecoderNew( input_thread_t *p_input,
     decoder_t *p_dec = NULL;
     int i_priority;
 
-#ifndef ENABLE_SOUT
-    (void)b_force_decoder;
-#else
+#ifdef ENABLE_SOUT
     /* If we are in sout mode, search for packetizer module */
     if( p_sout )
     {