Commit e6057184 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Eliminate dead code with !ENABLE_SOUT (fixes #4564)

(cherry picked from commit 905b25e92cc872601be526f33009277a63f6e210)
parent 423f1b08
...@@ -1600,6 +1600,7 @@ static void DecoderPlaySpu( decoder_t *p_dec, subpicture_t *p_subpic, ...@@ -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, static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block,
bool b_telx ) bool b_telx )
{ {
...@@ -1670,6 +1671,7 @@ static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block, ...@@ -1670,6 +1671,7 @@ static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block,
} }
} }
} }
#endif
/* */ /* */
static void DecoderFlushBuffering( decoder_t *p_dec ) static void DecoderFlushBuffering( decoder_t *p_dec )
...@@ -1728,6 +1730,7 @@ 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 /* This function process a block for sout
*/ */
static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block ) 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 ) ...@@ -1784,6 +1787,7 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
} }
} }
} }
#endif
/* This function process a video block /* This function process a video block
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment