summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2011-01-24 09:49:02 +0000
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-24 22:46:39 +0100
commit93e7490ee0c456d7e0fa43e3bf2cb4a8eed19194 (patch)
tree1480c30b5f46d1aaa10186fd418ba9bd31898668 /libavformat/rtsp.h
parentfef5649a820b30432578e1440776e7a71bd523cc (diff)
rtsp: Split out a function undoing the setup made by ff_rtsp_make_setup_request
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 2ef68db18b..6dc64b19ae 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -511,4 +511,10 @@ int ff_rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt);
int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
int lower_transport, const char *real_challenge);
+/**
+ * Undo the effect of ff_rtsp_make_setup_request, close the
+ * transport_priv and rtp_handle fields.
+ */
+void ff_rtsp_undo_setup(AVFormatContext *s);
+
#endif /* AVFORMAT_RTSP_H */