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

caf: remove tautology

p_sys->es cannot be NULL here.
parent 311397e1
......@@ -991,13 +991,8 @@ static int Demux( demux_t *p_demux )
FrameSpanAddSpan( &p_sys->position, &advance );
/* set PCR */
es_out_SetPCR( p_demux->out, p_block->i_pts );
if( p_sys->es )
es_out_Send( p_demux->out, p_sys->es, p_block );
else
block_Release( p_block );
es_out_Send( p_demux->out, p_sys->es, p_block );
return VLC_DEMUXER_SUCCESS;
}
......
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