From 8c2abad169177dfc64b8688735b7e80ee8b9e607 Mon Sep 17 00:00:00 2001
From: Pierre Ynard <linkfanel@yahoo.fr>
Date: Thu, 16 Oct 2008 12:45:48 +0200
Subject: [PATCH] Unbreak compilation with --disable-sout

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

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
---
 src/input/decoder.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 892f00ef23ed..e03643b31290 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 )
     {
-- 
GitLab