Commit 937150bc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: fix pf_demux test again

parent c615d75c
......@@ -682,8 +682,6 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
var_InheritBool( p_input, "play-and-pause" );
demux_t *p_demux = p_input->p->master->p_demux;
while (p_demux->p_next)
p_demux = p_demux->p_next;
const bool b_can_demux = p_demux->pf_demux != NULL;
while( !input_Stopped( p_input ) && p_input->p->i_state != ERROR_S )
......
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