Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 1 Comment
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Dec 2007 11:10:17 +0000 (11:10 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Dec 2007 11:10:17 +0000 (11:10 +0000)
Originally committed as revision 11339 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 9af572d..21a5fda 100644 (file)
@@ -606,7 +606,7 @@ static void rtsp_parse_transport(RTSPHeader *reply, const char *p)
             p++;
         get_word_sep(profile, sizeof(profile), "/;,", &p);
         lower_transport[0] = '\0';
-        if (*p == '/') {
+        if (*p == '/') { /* rtp/avp/<protocol> */
             p++;
             get_word_sep(lower_transport, sizeof(lower_transport),
                          ";,", &p);