Commit 7de965e3 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: don't delete unknown group

parent 3d4be9e5
...@@ -5657,7 +5657,8 @@ static void ts_pmt_Del( demux_t *p_demux, ts_pmt_t *pmt ) ...@@ -5657,7 +5657,8 @@ static void ts_pmt_Del( demux_t *p_demux, ts_pmt_t *pmt )
ARRAY_RESET( pmt->e_streams ); ARRAY_RESET( pmt->e_streams );
if( pmt->iod ) if( pmt->iod )
IODFree( pmt->iod ); IODFree( pmt->iod );
es_out_Control( p_demux->out, ES_OUT_DEL_GROUP, pmt->i_number ); if( pmt->i_number > -1 )
es_out_Control( p_demux->out, ES_OUT_DEL_GROUP, pmt->i_number );
free( pmt ); free( pmt );
} }
......
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