diff options
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r-- | libavformat/rtpproto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index a35ff5f216..451d8114e5 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -381,7 +381,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) < 0) + NULL, h->protocol_whitelist, h->protocol_blacklist) < 0) goto fail; s->local_rtpport = ff_udp_get_local_port(s->rtp_hd); if(s->local_rtpport == 65535) { @@ -395,7 +395,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags) sources, block); if (ffurl_open_whitelist(&s->rtcp_hd, buf, flags, &h->interrupt_callback, NULL, - h->protocol_whitelist) < 0) { + h->protocol_whitelist, h->protocol_blacklist) < 0) { s->local_rtpport = s->local_rtcpport = -1; continue; } @@ -405,7 +405,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, flags, &h->interrupt_callback, - NULL, h->protocol_whitelist) < 0) + NULL, h->protocol_whitelist, h->protocol_blacklist) < 0) goto fail; break; } |