1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-08 11:26:59 +02:00

ifdef for old OSes

This commit is contained in:
Rémi Denis-Courmont 2007-02-05 17:35:14 +00:00
parent 2a2b219f75
commit 57dff76299

View File

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