Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-03-22 00:02:08 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2009-03-22 00:02:08 +0300
commitcc9aced32f554e51e3bc5f46a5aa36a9927957a2 (patch)
treeaf4a09a321520dde5e6047ba4358039072a3e4bf /libavformat
parent78f731de92414bf52405e74d69848b63d67ea66a (diff)
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtsp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index cd5c3d8596..c9e60dd59e 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -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);
}