[FFmpeg-cvslog] r25555 - in trunk/libavformat: rtpdec.h rtpproto.c

aurel subversion
Sat Oct 23 18:20:57 CEST 2010


Author: aurel
Date: Sat Oct 23 18:20:56 2010
New Revision: 25555

Log:
drop rtp_get_local_port() which is not part of public API and not used anymore

Modified:
   trunk/libavformat/rtpdec.h
   trunk/libavformat/rtpproto.c

Modified: trunk/libavformat/rtpdec.h
==============================================================================
--- trunk/libavformat/rtpdec.h	Sat Oct 23 18:19:53 2010	(r25554)
+++ trunk/libavformat/rtpdec.h	Sat Oct 23 18:20:56 2010	(r25555)
@@ -45,9 +45,6 @@ int rtp_parse_packet(RTPDemuxContext *s,
 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);
 

Modified: trunk/libavformat/rtpproto.c
==============================================================================
--- trunk/libavformat/rtpproto.c	Sat Oct 23 18:19:53 2010	(r25554)
+++ trunk/libavformat/rtpproto.c	Sat Oct 23 18:20:56 2010	(r25555)
@@ -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



More information about the ffmpeg-cvslog mailing list