[vlc-devel] commit: Fix crash on RTSP error with TS muxing (CID#179) ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 5 16:19:07 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct  5 17:18:42 2008 +0300| [9087d31f07d88553553c282f0c67aee8125bbbfa] | committer: Rémi Denis-Courmont 

Fix crash on RTSP error with TS muxing (CID#179)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9087d31f07d88553553c282f0c67aee8125bbbfa
---

 modules/stream_out/rtp.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index c59167a..8a035ef 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];




More information about the vlc-devel mailing list