Commit 64db8eea authored by Sebastien Escudier's avatar Sebastien Escudier Committed by Rémi Denis-Courmont

RTP: fix TTL

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent 3485cfbe
......@@ -994,7 +994,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
default:
{
int ttl = (p_sys->i_ttl > 0) ? p_sys->i_ttl : -1;
int ttl = (p_sys->i_ttl >= 0) ? p_sys->i_ttl : -1;
int fd = net_ConnectDgram( p_stream, p_sys->psz_destination,
i_port, ttl, p_sys->proto );
if( fd == -1 )
......
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