summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-10-21 19:45:09 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2018-01-06 18:34:55 +0000
commitd41de90d440ae389262e13fb6c4dc3fdf7261b57 (patch)
tree32f45f0954c356f8b6ab81dd27554b6863a41e86 /libavformat/rtpproto.c
parent9396ed0f291509e62235e12cd064d5b13b2473c2 (diff)
libavformat: remove the ff_rtp_get_local_rtcp_port function
Only used by ffserver Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c6
1 files changed, 0 insertions, 6 deletions
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;