Commit 0b6a7ff4 authored by Martin Storsjö's avatar Martin Storsjö

rtsp: Do a forgotten reindenting

Originally committed as revision 25839 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3fa77bde
...@@ -339,24 +339,24 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1, ...@@ -339,24 +339,24 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
av_strlcpy(rt->control_uri, p, av_strlcpy(rt->control_uri, p,
sizeof(rt->control_uri)); sizeof(rt->control_uri));
} else { } else {
char proto[32]; char proto[32];
/* get the control url */ /* get the control url */
st = s->streams[s->nb_streams - 1]; st = s->streams[s->nb_streams - 1];
rtsp_st = st->priv_data; rtsp_st = st->priv_data;
/* XXX: may need to add full url resolution */ /* XXX: may need to add full url resolution */
av_url_split(proto, sizeof(proto), NULL, 0, NULL, 0, av_url_split(proto, sizeof(proto), NULL, 0, NULL, 0,
NULL, NULL, 0, p); NULL, NULL, 0, p);
if (proto[0] == '\0') { if (proto[0] == '\0') {
/* relative control URL */ /* relative control URL */
if (rtsp_st->control_url[strlen(rtsp_st->control_url)-1]!='/') if (rtsp_st->control_url[strlen(rtsp_st->control_url)-1]!='/')
av_strlcat(rtsp_st->control_url, "/", av_strlcat(rtsp_st->control_url, "/",
sizeof(rtsp_st->control_url)); sizeof(rtsp_st->control_url));
av_strlcat(rtsp_st->control_url, p, av_strlcat(rtsp_st->control_url, p,
sizeof(rtsp_st->control_url)); sizeof(rtsp_st->control_url));
} else } else
av_strlcpy(rtsp_st->control_url, p, av_strlcpy(rtsp_st->control_url, p,
sizeof(rtsp_st->control_url)); sizeof(rtsp_st->control_url));
} }
} else if (av_strstart(p, "rtpmap:", &p) && s->nb_streams > 0) { } else if (av_strstart(p, "rtpmap:", &p) && s->nb_streams > 0) {
/* NOTE: rtpmap is only supported AFTER the 'm=' tag */ /* NOTE: rtpmap is only supported AFTER the 'm=' tag */
......
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