[FFmpeg-cvslog] r11341 - trunk/libavformat/rtsp.c
lu_zero
subversion
Fri Dec 28 12:25:25 CET 2007
Author: lu_zero
Date: Fri Dec 28 12:25:25 2007
New Revision: 11341
Log:
Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 3 Reindent
Modified:
trunk/libavformat/rtsp.c
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c (original)
+++ trunk/libavformat/rtsp.c Fri Dec 28 12:25:25 2007
@@ -605,14 +605,16 @@ static void rtsp_parse_transport(RTSPHea
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';
}
More information about the ffmpeg-cvslog
mailing list