diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-03 17:14:26 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-04 16:13:42 +0000 |
commit | 93629735d76c09405248c1f6b2b2c5517fff88fd (patch) | |
tree | 5542b9328b19547421d8532ff6d3345feb2d2c4f /libavformat/srtpproto.c | |
parent | 500cb984710ccd66023f7dc1fa31548a0920e3e2 (diff) |
avformat: Add a protocol blacklisting API
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/srtpproto.c')
-rw-r--r-- | libavformat/srtpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/srtpproto.c b/libavformat/srtpproto.c index 470f87bc37..ef87c08e0d 100644 --- a/libavformat/srtpproto.c +++ b/libavformat/srtpproto.c @@ -81,7 +81,7 @@ static int srtp_open(URLContext *h, const char *uri, int flags) path, sizeof(path), uri); ff_url_join(buf, sizeof(buf), "rtp", NULL, hostname, rtp_port, "%s", path); if ((ret = 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; h->max_packet_size = FFMIN(s->rtp_hd->max_packet_size, |