[SCM] libav/experimental: Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 3 Reindent
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:10:59 UTC 2013
The following commit has been merged in the experimental branch:
commit 7ecc634e8a1af0e44a0593aa2a5da6b034cecd8d
Author: Luca Barbato <lu_zero at gentoo.org>
Date: Fri Dec 28 11:25:25 2007 +0000
Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 3 Reindent
Originally committed as revision 11341 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 842503b..ff66f4b 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -605,14 +605,16 @@ static void rtsp_parse_transport(RTSPHeader *reply, const char *p)
if (*p == '/')
p++;
if (!strcasecmp (transport_protocol, "rtp")) {
- get_word_sep(profile, sizeof(profile), "/;,", &p);
- lower_transport[0] = '\0';
- if (*p == '/') { /* rtp/avp/<protocol> */
- p++;
- get_word_sep(lower_transport, sizeof(lower_transport),
- ";,", &p);
- }
- } else if (!strcasecmp (transport_protocol, "x-pn-tng")) { /* x-pn-tng/<protocol> */
+ 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);
+ }
+ } else if (!strcasecmp (transport_protocol, "x-pn-tng")) {
+ /* x-pn-tng/<protocol> */
get_word_sep(lower_transport, sizeof(lower_transport), "/;,", &p);
profile[0] = '\0';
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list