summaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
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.c
parent1a172ce6b175314c3da3a1956b9fd8c97eac790a (diff)
downloadffmpeg-streaming-d89a08d81b970da000ff12188b04a1b3749e79e1.zip
ffmpeg-streaming-d89a08d81b970da000ff12188b04a1b3749e79e1.tar.gz
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.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 2b61b89..feb6193 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1017,7 +1017,7 @@ retry:
/**
* @return 0 on success, <0 on error, 1 if protocol is unavailable.
*/
-static int make_setup_request(AVFormatContext *s, const char *host, int port,
+int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
int lower_transport, const char *real_challenge)
{
RTSPState *rt = s->priv_data;
@@ -1493,7 +1493,7 @@ redirect:
int lower_transport = ff_log2_tab[lower_transport_mask &
~(lower_transport_mask - 1)];
- err = make_setup_request(s, host, port, lower_transport,
+ err = ff_rtsp_make_setup_request(s, host, port, lower_transport,
rt->server_type == RTSP_SERVER_REAL ?
real_challenge : NULL);
if (err < 0)
OpenPOWER on IntegriCloud