aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-08-31 17:32:02 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-08-31 17:32:02 +0000
commit30aa6aed4a80e6ba2d1fe77c018810effd7abd5d (patch)
tree0903f7aa5cdbb4194de51d372c90fa8c58d27831 /libavformat/rtsp.c
parente0776043356a87f363da977405b24016ba44f596 (diff)
downloadffmpeg-30aa6aed4a80e6ba2d1fe77c018810effd7abd5d.tar.gz
Read RealChallenge1 field from the server.
Originally committed as revision 15124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index db1573048c..b9c700f73b 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -717,6 +717,9 @@ void rtsp_parse_line(RTSPHeader *reply, const char *buf)
reply->seq = strtol(p, NULL, 10);
} else if (av_stristart(p, "Range:", &p)) {
rtsp_parse_range_npt(p, &reply->range_start, &reply->range_end);
+ } else if (av_stristart(p, "RealChallenge1:", &p)) {
+ skip_spaces(&p);
+ av_strlcpy(reply->real_challenge, p, sizeof(reply->real_challenge));
}
}