summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2011-01-24 09:49:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:28 +0100
commitd89a08d81b970da000ff12188b04a1b3749e79e1 (patch)
treebb7d46b628a0eb68c378eef4832970509195863a /libavformat/rtsp.h
parent1a172ce6b175314c3da3a1956b9fd8c97eac790a (diff)
rtsp: Make make_setup_request a nonstatic function
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit fef5649a820b30432578e1440776e7a71bd523cc)
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index eee07ac0e7..2ef68db18b 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -504,4 +504,11 @@ int ff_rtsp_tcp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
*/
int ff_rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt);
+/**
+ * Do the SETUP requests for each stream for the chosen
+ * lower transport mode.
+ */
+int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
+ int lower_transport, const char *real_challenge);
+
#endif /* AVFORMAT_RTSP_H */