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

git version control git at videolan.org
Mon Oct 6 15:46:45 CEST 2008


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct  5 17:18:42 2008 +0300| [f786616ffc1a60efda187300b048a750e8a433a3] | committer: Derk-Jan Hartman 

Fix crash on RTSP error with TS muxing (CID#179)
(cherry picked from commit 9087d31f07d88553553c282f0c67aee8125bbbfa)

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

 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 c7facb5..936e0f6 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -637,10 +637,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