Commit f7fa5240 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: caf: check es

parent 8312e804
......@@ -1005,7 +1005,10 @@ static int Demux( demux_t *p_demux )
/* set PCR */
es_out_SetPCR( p_demux->out, p_block->i_pts );
es_out_Send( p_demux->out, p_sys->es, p_block );
if( p_sys->es )
es_out_Send( p_demux->out, p_sys->es, p_block );
else
block_Release( 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