Commit cdcd6ade authored by Rafaël Carré's avatar Rafaël Carré

ts demux: remove duplicate code

parent 972810ac
...@@ -3939,13 +3939,6 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt ) ...@@ -3939,13 +3939,6 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
} }
else else
{ {
if( old_pid )
{
PIDClean( p_demux, old_pid );
TAB_REMOVE( i_clean, pp_clean, old_pid );
old_pid = 0;
}
pid->es->id = es_out_Add( p_demux->out, &pid->es->fmt ); pid->es->id = es_out_Add( p_demux->out, &pid->es->fmt );
for( int i = 0; i < pid->i_extra_es; i++ ) for( int i = 0; i < pid->i_extra_es; i++ )
{ {
......
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