Read RealChallenge1 field from the server.

Originally committed as revision 15124 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje
2008-08-31 17:32:02 +00:00
parent e077604335
commit 30aa6aed4a
2 changed files with 4 additions and 0 deletions

View File

@@ -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));
}
}