demux: remove unused code

This commit is contained in:
Kacper Michajłow 2023-01-29 13:34:44 +01:00 committed by Dudemanguy
parent 2048125f0c
commit ebf34ffad3
1 changed files with 0 additions and 4 deletions

View File

@ -2425,10 +2425,6 @@ static void execute_trackswitch(struct demux_internal *in)
{
in->tracks_switched = false;
bool any_selected = false;
for (int n = 0; n < in->num_streams; n++)
any_selected |= in->streams[n]->ds->selected;
pthread_mutex_unlock(&in->lock);
if (in->d_thread->desc->switched_tracks)