Commit 67a25bad authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ts: remove now dead code

The first variable argument of DEMUX_SET_GROUP is now always 0 or -1.
parent 90b1145a
......@@ -1071,13 +1071,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Deselect/filter current ones */
ARRAY_RESET( p_sys->programs );
if( i_int != -1 )
{
p_sys->seltype = PROGRAM_LIST;
ARRAY_APPEND( p_sys->programs, i_int );
UpdatePESFilters( p_demux, false );
}
else if( likely( p_list != NULL ) )
if( likely(p_list != NULL) )
{
p_sys->seltype = PROGRAM_LIST;
for( int i = 0; i < p_list->i_count; 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