summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2011-01-24 09:49:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:28 +0100
commitabbc1d272ee382b47d8736368588040c5dd2d90b (patch)
tree3dfb38d3642cb81732ecd47b7c3f84455913ad3b /libavformat/rtsp.h
parentd89a08d81b970da000ff12188b04a1b3749e79e1 (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> (cherry picked from commit 93e7490ee0c456d7e0fa43e3bf2cb4a8eed19194)
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 */