drop rtp_get_file_handles() which is not part of public API and not used anymore
authorAurelien Jacobs <aurel@gnuage.org>
Sat, 23 Oct 2010 16:21:49 +0000 (16:21 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 23 Oct 2010 16:21:49 +0000 (16:21 +0000)
Originally committed as revision 25556 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avio.h
libavformat/rtpdec.h
libavformat/rtpproto.c

index e4fd601724db07529a247ab7bb2dc80bca2bde3d..cccf21d6d88faee7f5280026718d1057cdea918d 100644 (file)
@@ -182,7 +182,6 @@ int64_t url_filesize(URLContext *h);
 /**
  * Return the file descriptor associated with this URL. For RTP, this
  * will return only the RTP file descriptor, not the RTCP file descriptor.
- * To get both, use rtp_get_file_handles().
  *
  * @return the file descriptor associated with this URL, or <0 on error.
  */
index 0ce98e94dda43b84cf62537551d2a1c6d980c000..41c18c1efd1827b39371bdb7cba50761fb127696 100644 (file)
@@ -49,9 +49,6 @@ int rtp_get_local_rtp_port(URLContext *h);
 int rtp_get_local_rtcp_port(URLContext *h);
 
 int rtp_set_remote_url(URLContext *h, const char *uri);
-#if (LIBAVFORMAT_VERSION_MAJOR <= 52)
-void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);
-#endif
 
 /**
  * Send a dummy packet on both port pairs to set up the connection
index b2a9bb641c71a1740dcc6855a88a72123226cf20..70ed84cec38ece3fd5e3db6331bb873944eaf72b 100644 (file)
@@ -339,22 +339,6 @@ int rtp_get_local_rtcp_port(URLContext *h)
     return udp_get_local_port(s->rtcp_hd);
 }
 
-#if (LIBAVFORMAT_VERSION_MAJOR <= 52)
-/**
- * Return the rtp and rtcp file handles for select() usage to wait for
- * several RTP streams at the same time.
- * @param h media file context
- */
-
-void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd)
-{
-    RTPContext *s = h->priv_data;
-
-    *prtp_fd = s->rtp_fd;
-    *prtcp_fd = s->rtcp_fd;
-}
-#endif
-
 static int rtp_get_file_handle(URLContext *h)
 {
     RTPContext *s = h->priv_data;