]> git.sesse.net Git - vlc/commitdiff
Fix crash on RTSP error with TS muxing (CID#179)
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 5 Oct 2008 14:18:42 +0000 (17:18 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 5 Oct 2008 14:18:42 +0000 (17:18 +0300)
modules/stream_out/rtp.c

index c59167ae46597a92b0d77dcbe9c7c4e0ca4f7d5b..8a035ef4dabf406991e106ea876f57c0f2be7080 100644 (file)
@@ -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];