From: Rémi Denis-Courmont Date: Sun, 5 Oct 2008 14:18:42 +0000 (+0300) Subject: Fix crash on RTSP error with TS muxing (CID#179) X-Git-Tag: 1.0.0-pre1~2682 X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=9087d31f07d88553553c282f0c67aee8125bbbfa Fix crash on RTSP error with TS muxing (CID#179) --- diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c index c59167ae46..8a035ef4da 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -634,10 +634,8 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url ) /* FIXME test if destination is multicast or no destination at all */ p_sys->rtsp = RtspSetup( p_stream, &url ); if( p_sys->rtsp == NULL ) - { msg_Err( p_stream, "cannot export SDP as RTSP" ); - } - + else if( p_sys->p_mux != NULL ) { sout_stream_id_t *id = p_sys->es[0];