[FFmpeg-cvslog] rtp: remove ff_rtp_get_rtcp_file_handle().

Jordi Ortiz git at videolan.org
Sat Aug 18 15:26:28 CEST 2012


ffmpeg | branch: master | Jordi Ortiz <nenjordi at gmail.com> | Fri Aug 17 18:41:26 2012 +0200| [a2dd4f7780f5b968067d3db728ac64ae444eedab] | committer: Martin Storsjö

rtp: remove ff_rtp_get_rtcp_file_handle().

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2dd4f7780f5b968067d3db728ac64ae444eedab
---

 libavformat/rtpdec.h   |    5 -----
 libavformat/rtpproto.c |    5 -----
 2 files changed, 10 deletions(-)

diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 81b6f63..20257a7 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -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
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index fc1ae06..aca6a5a 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -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)
 {



More information about the ffmpeg-cvslog mailing list