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

block_FifoPut() accepts/ignores NULL block

parent 13f0c6d0
...@@ -111,7 +111,6 @@ stream_t *stream_DemuxNew( demux_t *p_demux, const char *psz_demux, es_out_t *ou ...@@ -111,7 +111,6 @@ stream_t *stream_DemuxNew( demux_t *p_demux, const char *psz_demux, es_out_t *ou
void stream_DemuxSend( stream_t *s, block_t *p_block ) void stream_DemuxSend( stream_t *s, block_t *p_block )
{ {
stream_sys_t *p_sys = s->p_sys; stream_sys_t *p_sys = s->p_sys;
if( p_block )
block_FifoPut( p_sys->p_fifo, p_block ); block_FifoPut( p_sys->p_fifo, p_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