Commit f786616f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Derk-Jan Hartman

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

(cherry picked from commit 9087d31f)
parent b27cd243
......@@ -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];
......
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