[vlc-commits] Eliminate dead code with !ENABLE_SOUT (fixes #4564)

Rémi Denis-Courmont git at videolan.org
Tue Mar 8 19:55:03 CET 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  8 20:51:05 2011 +0200| [e6057184272bbd993ed036dc5b263a3b4c3cfda9] | committer: Rémi Denis-Courmont

Eliminate dead code with !ENABLE_SOUT (fixes #4564)

(cherry picked from commit 905b25e92cc872601be526f33009277a63f6e210)

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

 src/input/decoder.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 1273761..15b377a 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1600,6 +1600,7 @@ static void DecoderPlaySpu( decoder_t *p_dec, subpicture_t *p_subpic,
     }
 }
 
+#ifdef ENABLE_SOUT
 static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block,
                              bool b_telx )
 {
@@ -1670,6 +1671,7 @@ static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block,
         }
     }
 }
+#endif
 
 /* */
 static void DecoderFlushBuffering( decoder_t *p_dec )
@@ -1728,6 +1730,7 @@ static void DecoderFlushBuffering( decoder_t *p_dec )
     }
 }
 
+#ifdef ENABLE_SOUT
 /* This function process a block for sout
  */
 static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
@@ -1784,6 +1787,7 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
         }
     }
 }
+#endif
 
 /* This function process a video block
  */



More information about the vlc-commits mailing list