summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2010-08-25 17:32:59 +0000
committerMartin Storsjö <martin@martin.st>2010-08-25 17:32:59 +0000
commit186f1ec5f442bd9c6ccefa1af0a2b2d1e0f8a057 (patch)
tree9245093b9b7a013a5e1b7dbf5cb8d9b312018062 /libavformat/rtpdec.h
parent4574b815cca8f0d05b4ac1df0bd04d8613006663 (diff)
Add rtp_get_rtcp_file_handle function
Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24929 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 5389bcc27a..8548459d85 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -72,6 +72,11 @@ void rtp_send_punch_packets(URLContext* rtp_handle);
*/
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
+/**
+ * Get the file handle for the RTCP socket.
+ */
+int 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