Commit 7e772f7d authored by Rafaël Carré's avatar Rafaël Carré

Fix crash due to mtu being equal to 0

parent 5aebc3b8
......@@ -373,7 +373,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_thread->i_group =
var_GetInteger( p_access, SOUT_CFG_PREFIX "group" );
p_sys->i_mtu = var_GetInteger( p_this, "mtu" );
p_sys->i_mtu = var_CreateGetInteger( p_this, "mtu" );
srand( (uint32_t)mdate());
p_sys->p_buffer = NULL;
......
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