[vlc-devel] commit: RTP: fix TTL (Sebastien Escudier )
git version control
git at videolan.org
Sat Sep 27 11:40:21 CEST 2008
vlc | branch: master | Sebastien Escudier <sebastien-devel at celeos.eu> | Wed Sep 24 16:38:45 2008 +0200| [64db8eea70ae1dda0031babb45e2e226a6f4ee5a] | committer: Rémi Denis-Courmont
RTP: fix TTL
Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64db8eea70ae1dda0031babb45e2e226a6f4ee5a
---
modules/stream_out/rtp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 6659b20..2a772f0 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -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 )
More information about the vlc-devel
mailing list