Commit 7cdabacb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix potential crash in UpdateVout()

parent f4055f8f
......@@ -617,9 +617,13 @@ void InputManager::UpdateEPG()
void InputManager::UpdateVout()
{
/* Get current vout lists from input */
size_t i_vout;
vout_thread_t **pp_vout;
if( !p_input )
return;
/* Get current vout lists from input */
if( input_Control( p_input, INPUT_GET_VOUTS, &pp_vout, &i_vout ) )
{
i_vout = 0;
......
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