aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-01-21 20:01:11 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-01-21 20:01:11 +0000
commitf8c087333d28c035ae50ae9c589fcebf98c988f2 (patch)
treeb46d2888a4b3e5af2882c1e5abc49bd417f9c75e /libavformat/rtsp.c
parent7eaa646fd689e113fa3d2323dcb02e2965e7a83d (diff)
downloadffmpeg-f8c087333d28c035ae50ae9c589fcebf98c988f2.tar.gz
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
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 466b498c6e..bbd047f0c9 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);