[vlc-devel] [PATCH] Unbreak compilation with --disable-sout

Pierre Ynard linkfanel at yahoo.fr
Thu Oct 16 12:45:48 CEST 2008


Unbreak compilation with --disable-sout

The libraries still won't build due to missing symbols though.


diff --git a/src/input/decoder.c b/src/input/decoder.c
index be20a84..e2bfc49 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -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 )
     {


Regards,

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list