Change on rtsp_send_cmd() to the _async() version since we don't use the
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 21 Jan 2010 20:01:11 +0000 (20:01 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 21 Jan 2010 20:01:11 +0000 (20:01 +0000)
response anyway.

Originally committed as revision 21370 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 466b498..bbd047f 100644 (file)
@@ -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);