summaryrefslogtreecommitdiff
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-10-30 19:12:45 +0200
committerMartin Storsjö <martin@martin.st>2013-11-01 09:57:06 +0200
commit50aef03b24d949249b020226dffa3a78077f1056 (patch)
tree99f576b21f7c68ff57ef8d6c717b567306bdc86d /libavformat/rtspdec.c
parent9ceed7af377cea6a430d63a2f5d5cf1afe0d4f05 (diff)
rtspenc: Make sure BYE packets are sent before TEARDOWN
Also make sure the BYE packets are sent at all when using TCP interleaved transport. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r--libavformat/rtspdec.c2
1 files changed, 1 insertions, 1 deletions
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);
}