Commit 62314d01 authored by Tristan Heaven's avatar Tristan Heaven Committed by Rémi Duraffort

qt4: Fix stack smash in InputManager::UpdateVout

From http://bugs.gentoo.org/show_bug.cgi?id=328969Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 4332f5b4)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent c0a12564
...@@ -568,7 +568,7 @@ void InputManager::UpdateVout() ...@@ -568,7 +568,7 @@ void InputManager::UpdateVout()
if( hasInput() ) if( hasInput() )
{ {
/* Get current vout lists from input */ /* Get current vout lists from input */
int i_vout; size_t i_vout;
vout_thread_t **pp_vout; vout_thread_t **pp_vout;
if( input_Control( p_input, INPUT_GET_VOUTS, &pp_vout, &i_vout ) ) if( input_Control( p_input, INPUT_GET_VOUTS, &pp_vout, &i_vout ) )
{ {
......
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