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

input: remove duplicate end/error events

parent 640d0d5b
......@@ -515,15 +515,11 @@ static void *Run( vlc_object_t *p_this )
const int canc = vlc_savecancel();
if( Init( p_input ) )
{
input_ChangeState( p_input, p_input->b_error ? ERROR_S : END_S );
goto exit;
}
MainLoop( p_input );
/* Clean up */
input_ChangeState( p_input, p_input->b_error ? ERROR_S : END_S );
End( p_input );
exit:
......
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