diff options
author | Martin Storsjö <martin@martin.st> | 2013-10-30 19:12:45 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-11-01 09:57:06 +0200 |
commit | 50aef03b24d949249b020226dffa3a78077f1056 (patch) | |
tree | 99f576b21f7c68ff57ef8d6c717b567306bdc86d /libavformat/rtspdec.c | |
parent | 9ceed7af377cea6a430d63a2f5d5cf1afe0d4f05 (diff) | |
download | ffmpeg-50aef03b24d949249b020226dffa3a78077f1056.tar.gz |
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.c | 2 |
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); } |