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

live555: check for error

parent 4e84bd2c
......@@ -335,13 +335,14 @@ static int Open ( vlc_object_t *p_this )
if( strcasecmp( p_demux->psz_access, "satip" ) == 0 )
{
asprintf(&p_sys->p_sdp, "v=0\r\n"
if( asprintf(&p_sys->p_sdp, "v=0\r\n"
"o=- 0 %s\r\n"
"s=SATIP:stream\r\n"
"i=SATIP RTP Stream\r\n"
"m=video 0 RTP/AVP 33\r\n"
"a=control:rtsp://%s\r\n\r\n",
p_sys->url.psz_host, p_sys->psz_path);
p_sys->url.psz_host, p_sys->psz_path) < 0 )
abort();
}
if( p_demux->s != NULL )
......
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