Commit 118274b4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

RTP out: use make_path for SDP file

parent 3ecd0eb5
......@@ -699,13 +699,9 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url )
msg_Err( p_stream, "you can use sdp=file:// only once" );
goto out;
}
psz_url = &psz_url[5];
if( psz_url[0] == '/' && psz_url[1] == '/' )
psz_url += 2;
p_sys->psz_sdp_file = strdup( psz_url );
p_sys->psz_sdp_file = make_path( psz_url );
if( p_sys->psz_sdp_file == NULL )
goto out;
decode_URI( p_sys->psz_sdp_file ); /* FIXME? */
FileSetup( p_stream );
}
else
......
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