From: Rémi Denis-Courmont Date: Sat, 1 Sep 2007 13:37:08 +0000 (+0000) Subject: Fix undefined variable use X-Git-Tag: 0.9.0-test0~5984 X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=19fa9255e997bc593aac68ac915c3f91eeae9158;ds=sidebyside Fix undefined variable use --- 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 )