aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-21 15:55:09 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-21 15:55:09 +0100
commitf8e89d8a297e034d03aac88c73acd1541167ae5e (patch)
tree036de2728a2748e27d01f273ba431f411eb7b018 /libavformat/rtpproto.c
parentbe5fde92ff6cf920e2e7d58a864dcf5527404564 (diff)
parentfab8156b2f30666adabe227b3d7712fd193873b1 (diff)
downloadffmpeg-f8e89d8a297e034d03aac88c73acd1541167ae5e.tar.gz
Merge commit 'fab8156b2f30666adabe227b3d7712fd193873b1'
* commit 'fab8156b2f30666adabe227b3d7712fd193873b1': avio: Copy URLContext generic options into child URLContexts Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 2062083aee..fa1dcb5570 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -382,7 +382,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
hostname, rtp_port, s->local_rtpport,
sources, block);
if (ffurl_open_whitelist(&s->rtp_hd, buf, flags, &h->interrupt_callback,
- NULL, h->protocol_whitelist, h->protocol_blacklist) < 0)
+ NULL, h->protocol_whitelist, h->protocol_blacklist, h) < 0)
goto fail;
s->local_rtpport = ff_udp_get_local_port(s->rtp_hd);
if(s->local_rtpport == 65535) {
@@ -397,7 +397,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
sources, block);
if (ffurl_open_whitelist(&s->rtcp_hd, buf, rtcpflags,
&h->interrupt_callback, NULL,
- h->protocol_whitelist, h->protocol_blacklist) < 0) {
+ h->protocol_whitelist, h->protocol_blacklist, h) < 0) {
s->local_rtpport = s->local_rtcpport = -1;
continue;
}
@@ -407,7 +407,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
hostname, s->rtcp_port, s->local_rtcpport,
sources, block);
if (ffurl_open_whitelist(&s->rtcp_hd, buf, rtcpflags, &h->interrupt_callback,
- NULL, h->protocol_whitelist, h->protocol_blacklist) < 0)
+ NULL, h->protocol_whitelist, h->protocol_blacklist, h) < 0)
goto fail;
break;
}