Commit 594dbde2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use net_ConnectUDP

parent a8468e72
......@@ -563,7 +563,7 @@ static int Open( vlc_object_t *p_this )
if( i_port <= 0 ) i_port = 1234;
msg_Dbg( p_demux, "resend ts to '%s:%d'", val.psz_string, i_port );
p_sys->fd = net_OpenUDP( p_demux, "", 0, val.psz_string, i_port );
p_sys->fd = net_ConnectUDP( p_demux, val.psz_string, i_port, 0 );
if( p_sys->fd < 0 )
{
msg_Err( p_demux, "failed to open udp socket, send disabled" );
......
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