summaryrefslogtreecommitdiff
path: root/libavformat/rtmpcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtmpcrypt.c')
-rw-r--r--libavformat/rtmpcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpcrypt.c b/libavformat/rtmpcrypt.c
index 77ca2d154f..3d5eb22392 100644
--- a/libavformat/rtmpcrypt.c
+++ b/libavformat/rtmpcrypt.c
@@ -266,7 +266,7 @@ static int rtmpe_open(URLContext *h, const char *uri, int flags)
/* open the tcp or ffrtmphttp connection */
if ((ret = ffurl_open_whitelist(&rt->stream, url, AVIO_FLAG_READ_WRITE,
&h->interrupt_callback, NULL,
- h->protocol_whitelist)) < 0) {
+ h->protocol_whitelist, h->protocol_blacklist)) < 0) {
rtmpe_close(h);
return ret;
}