diff options
author | Martin Storsjö <martin@martin.st> | 2011-01-02 10:10:12 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-01-02 10:10:12 +0000 |
commit | 77223c5388ca7bfea2232afeb05b05fcc536de6f (patch) | |
tree | 984b384b1f8e192bf8c3dd3d28470cf660ec2056 /libavformat/rtsp.c | |
parent | acc9ed14507c8a25c6ba633065311ceafb09e8e0 (diff) | |
download | ffmpeg-77223c5388ca7bfea2232afeb05b05fcc536de6f.tar.gz |
rtsp: Pass the method name to ff_rtsp_parse_line
Originally committed as revision 26191 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index bc7e4e1b22..4ba5cefbfb 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -685,7 +685,7 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, const char *p) } void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf, - RTSPState *rt) + RTSPState *rt, const char *method) { const char *p; @@ -808,7 +808,7 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, reply->status_code = atoi(buf1); av_strlcpy(reply->reason, p, sizeof(reply->reason)); } else { - ff_rtsp_parse_line(reply, p, rt); + ff_rtsp_parse_line(reply, p, rt, method); av_strlcat(rt->last_reply, p, sizeof(rt->last_reply)); av_strlcat(rt->last_reply, "\n", sizeof(rt->last_reply)); } |