Commit 9087d31f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent a610e2fc
......@@ -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" );
if( p_sys->p_mux != NULL )
sout_stream_id_t *id = p_sys->es[0];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment