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

demux: mod: check es

parent 553a59a4
......@@ -285,7 +285,10 @@ static int Demux( demux_t *p_demux )
es_out_SetPCR( p_demux->out, p_frame->i_pts );
/* Send data */
es_out_Send( p_demux->out, p_sys->es, p_frame );
if( p_sys->es )
es_out_Send( p_demux->out, p_sys->es, p_frame );
else
block_Release( p_frame );
date_Increment( &p_sys->pts, i_read / i_bk );
......
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