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

Eliminate dead code with !ENABLE_SOUT (fixes #4564)

parent 9c7a8af6
...@@ -1611,6 +1611,7 @@ static void DecoderPlaySpu( decoder_t *p_dec, subpicture_t *p_subpic, ...@@ -1611,6 +1611,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 )
{ {
...@@ -1681,6 +1682,7 @@ static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block, ...@@ -1681,6 +1682,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 )
...@@ -1738,6 +1740,7 @@ static void DecoderFlushBuffering( decoder_t *p_dec ) ...@@ -1738,6 +1740,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 )
...@@ -1794,6 +1797,7 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block ) ...@@ -1794,6 +1797,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