Skip to content
Snippets Groups Projects
Commit 7ecc634e authored by Luca Barbato's avatar Luca Barbato
Browse files

Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 3 Reindent

Originally committed as revision 11341 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e1502118
No related branches found
No related tags found
No related merge requests found
...@@ -605,14 +605,16 @@ static void rtsp_parse_transport(RTSPHeader *reply, const char *p) ...@@ -605,14 +605,16 @@ static void rtsp_parse_transport(RTSPHeader *reply, const char *p)
if (*p == '/') if (*p == '/')
p++; p++;
if (!strcasecmp (transport_protocol, "rtp")) { if (!strcasecmp (transport_protocol, "rtp")) {
get_word_sep(profile, sizeof(profile), "/;,", &p); get_word_sep(profile, sizeof(profile), "/;,", &p);
lower_transport[0] = '\0'; lower_transport[0] = '\0';
if (*p == '/') { /* rtp/avp/<protocol> */ /* rtp/avp/<protocol> */
p++; if (*p == '/') {
get_word_sep(lower_transport, sizeof(lower_transport), p++;
";,", &p); get_word_sep(lower_transport, sizeof(lower_transport),
} ";,", &p);
} else if (!strcasecmp (transport_protocol, "x-pn-tng")) { /* x-pn-tng/<protocol> */ }
} else if (!strcasecmp (transport_protocol, "x-pn-tng")) {
/* x-pn-tng/<protocol> */
get_word_sep(lower_transport, sizeof(lower_transport), "/;,", &p); get_word_sep(lower_transport, sizeof(lower_transport), "/;,", &p);
profile[0] = '\0'; profile[0] = '\0';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment