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 892f00e..e03643b 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 )
     {