]> git.sesse.net Git - ffmpeg/commitdiff
drop rtp_get_local_port() which is not part of public API and not used anymore
authorAurelien Jacobs <aurel@gnuage.org>
Sat, 23 Oct 2010 16:20:56 +0000 (16:20 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 23 Oct 2010 16:20:56 +0000 (16:20 +0000)
Originally committed as revision 25555 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtpdec.h
libavformat/rtpproto.c

index 84deefec68d74dee3ba6710e9d3945e48b1acfdf..0ce98e94dda43b84cf62537551d2a1c6d980c000 100644 (file)
@@ -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);
 
index d99b7585fbf1b84e05952b9b67f34e57559ab36a..b2a9bb641c71a1740dcc6855a88a72123226cf20 100644 (file)
@@ -327,18 +327,6 @@ int rtp_get_local_rtp_port(URLContext *h)
     return udp_get_local_port(s->rtp_hd);
 }
 
-/**
- * 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