Commit 8e662f59 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: remove redundant END_S code

After each and every MainLoop() call is a call to End(), which
inconditionally sets the input state to END_S.
parent 1e2a57c3
...@@ -785,9 +785,6 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive ) ...@@ -785,9 +785,6 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
i_wakeup = es_out_GetWakeup( p_input->p->p_es_out ); i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
} }
} }
if( !p_input->b_error )
input_ChangeState( p_input, END_S );
} }
static void InitStatistics( input_thread_t * p_input ) static void InitStatistics( input_thread_t * p_input )
......
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