]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpproto.c
libavformat: remove the ff_rtp_get_local_rtcp_port function
[ffmpeg] / libavformat / rtpproto.c
index 0706cae25f379e419273bdab8b8aad22cdedeacb..c01d9cea183ad682d13660b4568d66a6653d3bb9 100644 (file)
@@ -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;