[vlc-commits] input: remove redundant END_S code
Rémi Denis-Courmont
git at videolan.org
Fri Jun 5 21:34:07 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun 5 21:54:16 2015 +0300| [8e662f5903b893c8057271c2228212f23bc0df03] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e662f5903b893c8057271c2228212f23bc0df03
---
src/input/input.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index ef78ddb..d0fa645 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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 );
}
}
-
- if( !p_input->b_error )
- input_ChangeState( p_input, END_S );
}
static void InitStatistics( input_thread_t * p_input )
More information about the vlc-commits
mailing list