rtp: remove ff_rtp_get_rtcp_file_handle().
authorJordi Ortiz <nenjordi@gmail.com>
Fri, 17 Aug 2012 16:41:26 +0000 (18:41 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 17 Aug 2012 19:15:56 +0000 (22:15 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec.h
libavformat/rtpproto.c

index 81b6f63..20257a7 100644 (file)
@@ -71,11 +71,6 @@ void ff_rtp_send_punch_packets(URLContext* rtp_handle);
  */
 int ff_rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
 
-/**
- * Get the file handle for the RTCP socket.
- */
-int ff_rtp_get_rtcp_file_handle(URLContext *h);
-
 // these statistics are used for rtcp receiver reports...
 typedef struct {
     uint16_t max_seq;           ///< highest sequence number seen
index fc1ae06..aca6a5a 100644 (file)
@@ -315,11 +315,6 @@ static int rtp_get_file_handle(URLContext *h)
     return s->rtp_fd;
 }
 
-int ff_rtp_get_rtcp_file_handle(URLContext *h) {
-    RTPContext *s = h->priv_data;
-    return s->rtcp_fd;
-}
-
 static int rtp_get_multi_file_handle(URLContext *h, int **handles,
                                      int *numhandles)
 {