From f8c087333d28c035ae50ae9c589fcebf98c988f2 Mon Sep 17 00:00:00 2001
From: "Ronald S. Bultje" <rsbultje@gmail.com>
Date: Thu, 21 Jan 2010 20:01:11 +0000
Subject: [PATCH] Change on rtsp_send_cmd() to the _async() version since we
 don't use the response anyway.

Originally committed as revision 21370 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/rtsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 466b498c6e6..bbd047f0c97 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1726,7 +1726,7 @@ static int rtsp_read_close(AVFormatContext *s)
     snprintf(cmd, sizeof(cmd),
              "TEARDOWN %s RTSP/1.0\r\n",
              s->filename);
-    rtsp_send_cmd(s, cmd, reply, NULL);
+    rtsp_send_cmd_async(s, cmd, reply, NULL);
 
     rtsp_close_streams(rt);
     url_close(rt->rtsp_hd);
-- 
GitLab