mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-18 00:46:51 +00:00
Remove slash-skipping code because the function called right after that
statement (get_word_sep()) already does that all by itself. See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18128 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
78f731de92
commit
cc9aced32f
@ -584,14 +584,11 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, const char *p)
|
||||
|
||||
get_word_sep(transport_protocol, sizeof(transport_protocol),
|
||||
"/", &p);
|
||||
if (*p == '/')
|
||||
p++;
|
||||
if (!strcasecmp (transport_protocol, "rtp")) {
|
||||
get_word_sep(profile, sizeof(profile), "/;,", &p);
|
||||
lower_transport[0] = '\0';
|
||||
/* rtp/avp/<protocol> */
|
||||
if (*p == '/') {
|
||||
p++;
|
||||
get_word_sep(lower_transport, sizeof(lower_transport),
|
||||
";,", &p);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user