diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-23 16:19:53 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-23 16:19:53 +0000 |
commit | 67f34aaa9746f6446baf112639ff8c6e5a0fa4ba (patch) | |
tree | 68eb62f9214d5ba3e206a337fe402153cf6709d8 /libavformat | |
parent | fbd4a07db1c586cb2c05ff109d6a386a8f81b19a (diff) | |
download | ffmpeg-67f34aaa9746f6446baf112639ff8c6e5a0fa4ba.tar.gz |
use rtp_get_local_rtp_port() instead of the deprecated rtp_get_local_port()
Originally committed as revision 25554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index d524ba8444..c34bcdb8f6 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1019,7 +1019,7 @@ static int make_setup_request(AVFormatContext *s, const char *host, int port, #endif rtp_opened: - port = rtp_get_local_port(rtsp_st->rtp_handle); + port = rtp_get_local_rtp_port(rtsp_st->rtp_handle); have_port: snprintf(transport, sizeof(transport) - 1, "%s/UDP;", trans_pref); |