summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-03-24 23:06:58 +0000
committerMartin Storsjö <martin@martin.st>2010-03-24 23:06:58 +0000
commitb1cc5540e765e0e44e81f9ad55ad7c21438c3294 (patch)
treedf74f502906bd784877938f34e6a998258dcc399 /libavformat/rtsp.c
parent3bfb30b9e31dbc741501e7511b02cab1963e83c7 (diff)
Make ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_content
Originally committed as revision 22663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 62ba8b11ed..f466574758 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1034,9 +1034,7 @@ void ff_rtsp_send_cmd(AVFormatContext *s,
const char *cmd, RTSPMessageHeader *reply,
unsigned char **content_ptr)
{
- ff_rtsp_send_cmd_async(s, cmd);
-
- ff_rtsp_read_reply(s, reply, content_ptr, 0);
+ ff_rtsp_send_cmd_with_content(s, cmd, reply, content_ptr, NULL, 0);
}
void ff_rtsp_send_cmd_with_content(AVFormatContext *s,