| Index: source/patched-ffmpeg-mt/libavformat/rtpproto.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavformat/rtpproto.c (revision 59334)
|
| +++ source/patched-ffmpeg-mt/libavformat/rtpproto.c (working copy)
|
| @@ -285,7 +285,7 @@
|
| int ret;
|
| URLContext *hd;
|
|
|
| - if (buf[1] >= 200 && buf[1] <= 204) {
|
| + if (buf[1] >= RTCP_SR && buf[1] <= RTCP_APP) {
|
| /* RTCP payload type */
|
| hd = s->rtcp_hd;
|
| } else {
|
| @@ -373,6 +373,11 @@
|
| 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,
|
|
|