summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-23 16:20:56 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-23 16:20:56 +0000
commitfb660f4015bd1055ceb921ab442686b413544127 (patch)
treef9415b8e30ee998f777a9f900f321ed280b656b3 /libavformat
parent67f34aaa9746f6446baf112639ff8c6e5a0fa4ba (diff)
drop rtp_get_local_port() which is not part of public API and not used anymore
Originally committed as revision 25555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpdec.h3
-rw-r--r--libavformat/rtpproto.c12
2 files changed, 0 insertions, 15 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 84deefec68..0ce98e94dd 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -45,9 +45,6 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
void rtp_parse_close(RTPDemuxContext *s);
int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s);
void ff_rtp_reset_packet_queue(RTPDemuxContext *s);
-#if (LIBAVFORMAT_VERSION_MAJOR <= 53)
-int rtp_get_local_port(URLContext *h);
-#endif
int rtp_get_local_rtp_port(URLContext *h);
int rtp_get_local_rtcp_port(URLContext *h);
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index d99b7585fb..b2a9bb641c 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -328,18 +328,6 @@ int rtp_get_local_rtp_port(URLContext *h)
}
/**
- * Return the local rtp port used by the RTP connection
- * @param h media file context
- * @return the local port number
- */
-
-int rtp_get_local_port(URLContext *h)
-{
- RTPContext *s = h->priv_data;
- return udp_get_local_port(s->rtp_hd);
-}
-
-/**
* Return the local rtcp port used by the RTP connection
* @param h media file context
* @return the local port number