Mercurial > libavformat.hg
changeset 1857:17893fe08372 libavformat
Move rtp_check_and_send_back_rr()'s unaltered comments to the header file.
author | takis |
---|---|
date | Sun, 04 Mar 2007 23:29:14 +0000 |
parents | 99d50be70d9a |
children | 7ce72baa2ce5 |
files | rtp.c rtp.h |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/rtp.c Sun Mar 04 23:27:59 2007 +0000 +++ b/rtp.c Sun Mar 04 23:29:14 2007 +0000 @@ -335,11 +335,6 @@ } #endif -/** - * some rtp servers assume client is dead if they don't hear from them... - * so we send a Receiver Report to the provided ByteIO context - * (we don't have access to the rtcp handle from here) - */ int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count) { ByteIOContext pb;
--- a/rtp.h Sun Mar 04 23:27:59 2007 +0000 +++ b/rtp.h Sun Mar 04 23:29:14 2007 +0000 @@ -43,6 +43,12 @@ int rtp_get_local_port(URLContext *h); int rtp_set_remote_url(URLContext *h, const char *uri); void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd); + +/** + * some rtp servers assume client is dead if they don't hear from them... + * so we send a Receiver Report to the provided ByteIO context + * (we don't have access to the rtcp handle from here) + */ int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count); extern URLProtocol rtp_protocol;