From 19fa9255e997bc593aac68ac915c3f91eeae9158 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 1 Sep 2007 13:37:08 +0000 Subject: [PATCH] Fix undefined variable use --- modules/stream_out/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c index 97860a7a30..8ff72b34a0 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -427,7 +427,7 @@ static int Open( vlc_object_t *p_this ) if( p_sys->i_ttl > 0 ) sprintf( access, "udp{raw,rtcp,ttl=%d}", p_sys->i_ttl ); else - strcat( access, "udp{raw,rtcp}" ); + strcpy( access, "udp{raw,rtcp}" ); /* IPv6 needs brackets if not already present */ if (strchr( p_sys->psz_destination, ':' ) != NULL ) -- 2.20.1