]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmpcrypt.c
Merge commit '6b96d2dcdaa60d7919d710432c6ca204b7fab0ab'
[ffmpeg] / libavformat / rtmpcrypt.c
index a0c914f395ea70de5e69d25fc492c8cb9e43041b..811c74cdfa5f46822b86fd109b5b0a98001e742e 100644 (file)
@@ -264,8 +264,9 @@ static int rtmpe_open(URLContext *h, const char *uri, int flags)
     }
 
     /* open the tcp or ffrtmphttp connection */
-    if ((ret = ffurl_open(&rt->stream, url, AVIO_FLAG_READ_WRITE,
-                          &h->interrupt_callback, NULL)) < 0) {
+    if ((ret = ffurl_open_whitelist(&rt->stream, url, AVIO_FLAG_READ_WRITE,
+                                    &h->interrupt_callback, NULL,
+                                    h->protocol_whitelist)) < 0) {
         rtmpe_close(h);
         return ret;
     }