Commit b1cc5540 authored by Martin Storsjö's avatar Martin Storsjö

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
parent 3bfb30b9
...@@ -1034,9 +1034,7 @@ void ff_rtsp_send_cmd(AVFormatContext *s, ...@@ -1034,9 +1034,7 @@ void ff_rtsp_send_cmd(AVFormatContext *s,
const char *cmd, RTSPMessageHeader *reply, const char *cmd, RTSPMessageHeader *reply,
unsigned char **content_ptr) unsigned char **content_ptr)
{ {
ff_rtsp_send_cmd_async(s, cmd); ff_rtsp_send_cmd_with_content(s, cmd, reply, content_ptr, NULL, 0);
ff_rtsp_read_reply(s, reply, content_ptr, 0);
} }
void ff_rtsp_send_cmd_with_content(AVFormatContext *s, void ff_rtsp_send_cmd_with_content(AVFormatContext *s,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment