diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-10-21 19:45:09 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2018-01-06 18:34:55 +0000 |
commit | d41de90d440ae389262e13fb6c4dc3fdf7261b57 (patch) | |
tree | 32f45f0954c356f8b6ab81dd27554b6863a41e86 | |
parent | 9396ed0f291509e62235e12cd064d5b13b2473c2 (diff) | |
download | ffmpeg-d41de90d440ae389262e13fb6c4dc3fdf7261b57.tar.gz |
libavformat: remove the ff_rtp_get_local_rtcp_port function
Only used by ffserver
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r-- | libavformat/libavformat.v | 1 | ||||
-rw-r--r-- | libavformat/rtpproto.c | 6 | ||||
-rw-r--r-- | libavformat/rtpproto.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/libavformat.v b/libavformat/libavformat.v index e838f2918a..42b3e0c8e2 100644 --- a/libavformat/libavformat.v +++ b/libavformat/libavformat.v @@ -5,7 +5,6 @@ LIBAVFORMAT_MAJOR { ff_socket_nonblock; ff_rtsp_parse_line; ff_rtp_get_local_rtp_port; - ff_rtp_get_local_rtcp_port; ffio_open_dyn_packet_buf; ffio_set_buf_size; ffurl_close; diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index 0706cae25f..c01d9cea18 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -636,12 +636,6 @@ int ff_rtp_get_local_rtp_port(URLContext *h) * @return the local port number */ -int ff_rtp_get_local_rtcp_port(URLContext *h) -{ - RTPContext *s = h->priv_data; - return ff_udp_get_local_port(s->rtcp_hd); -} - static int rtp_get_file_handle(URLContext *h) { RTPContext *s = h->priv_data; diff --git a/libavformat/rtpproto.h b/libavformat/rtpproto.h index 5b243fb248..131aac5f3c 100644 --- a/libavformat/rtpproto.h +++ b/libavformat/rtpproto.h @@ -26,6 +26,5 @@ int ff_rtp_set_remote_url(URLContext *h, const char *uri); int ff_rtp_get_local_rtp_port(URLContext *h); -int ff_rtp_get_local_rtcp_port(URLContext *h); #endif /* AVFORMAT_RTPPROTO_H */ |