summaryrefslogtreecommitdiff
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-17 13:27:27 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-18 18:22:02 +0200
commit76e25dbca6eb6ea899baa042902bd038bd2e3056 (patch)
tree5db14ef7ee802239fbfb0dbd55c51a8dd051ed45 /libavformat/rtspdec.c
parente463f0e9790b4ee00b1a0572e5de600476ee0618 (diff)
rtsp: remove disabled code
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r--libavformat/rtspdec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index d154615d6f..430c086544 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -383,12 +383,6 @@ static int rtsp_read_close(AVFormatContext *s)
{
RTSPState *rt = s->priv_data;
-#if 0
- /* NOTE: it is valid to flush the buffer here */
- if (rt->lower_transport == RTSP_LOWER_TRANSPORT_TCP) {
- avio_close(&rt->rtsp_gb);
- }
-#endif
ff_rtsp_send_cmd_async(s, "TEARDOWN", rt->control_uri, NULL);
ff_rtsp_close_streams(s);