mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-26 01:56:34 +08:00
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
This commit is contained in:
@ -1726,7 +1726,7 @@ static int rtsp_read_close(AVFormatContext *s)
|
|||||||
snprintf(cmd, sizeof(cmd),
|
snprintf(cmd, sizeof(cmd),
|
||||||
"TEARDOWN %s RTSP/1.0\r\n",
|
"TEARDOWN %s RTSP/1.0\r\n",
|
||||||
s->filename);
|
s->filename);
|
||||||
rtsp_send_cmd(s, cmd, reply, NULL);
|
rtsp_send_cmd_async(s, cmd, reply, NULL);
|
||||||
|
|
||||||
rtsp_close_streams(rt);
|
rtsp_close_streams(rt);
|
||||||
url_close(rt->rtsp_hd);
|
url_close(rt->rtsp_hd);
|
||||||
|
Reference in New Issue
Block a user