From 50aef03b24d949249b020226dffa3a78077f1056 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 30 Oct 2013 19:12:45 +0200 Subject: rtspenc: Make sure BYE packets are sent before TEARDOWN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also make sure the BYE packets are sent at all when using TCP interleaved transport. Signed-off-by: Martin Storsjö --- libavformat/rtspdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtspdec.c') diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 43dcb47ac1..160d49bb3d 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -769,7 +769,7 @@ static int resetup_tcp(AVFormatContext *s) av_url_split(NULL, 0, NULL, 0, host, sizeof(host), &port, NULL, 0, s->filename); - ff_rtsp_undo_setup(s); + ff_rtsp_undo_setup(s, 0); return ff_rtsp_make_setup_request(s, host, port, RTSP_LOWER_TRANSPORT_TCP, rt->real_challenge); } -- cgit v1.2.3