Commit 57dff762 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ifdef for old OSes

parent 2a2b219f
...@@ -279,9 +279,12 @@ static int Open( vlc_object_t *p_this ) ...@@ -279,9 +279,12 @@ static int Open( vlc_object_t *p_this )
p_sys->p_thread->i_handle = i_handle; p_sys->p_thread->i_handle = i_handle;
net_StopRecv( i_handle ); net_StopRecv( i_handle );
#ifdef UDPLITE_SEND_CSCOV
if (proto == IPPROTO_UDPLITE) if (proto == IPPROTO_UDPLITE)
setsockopt (i_handle, SOL_UDPLITE, UDPLITE_SEND_CSCOV, setsockopt (i_handle, SOL_UDPLITE, UDPLITE_SEND_CSCOV,
&cscov, sizeof (cscov)); &cscov, sizeof (cscov));
#endif
var_Get( p_access, SOUT_CFG_PREFIX "caching", &val ); var_Get( p_access, SOUT_CFG_PREFIX "caching", &val );
p_sys->p_thread->i_caching = (int64_t)val.i_int * 1000; p_sys->p_thread->i_caching = (int64_t)val.i_int * 1000;
......
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