Commit 4332f5b4 authored by Tristan Heaven's avatar Tristan Heaven Committed by Jean-Baptiste Kempf

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>
parent 4cd590ad
...@@ -570,7 +570,7 @@ void InputManager::UpdateVout() ...@@ -570,7 +570,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