diff options
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r-- | libavformat/rtpproto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index 289a253f9e..ef4602dfeb 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -373,6 +373,11 @@ static int rtp_get_file_handle(URLContext *h) return s->rtp_fd; } +int rtp_get_rtcp_file_handle(URLContext *h) { + RTPContext *s = h->priv_data; + return s->rtcp_fd; +} + URLProtocol rtp_protocol = { "rtp", rtp_open, |