]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmpcrypt.c
lavf/mov: Extend extracting XMP in mov files using UUID Box
[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;
     }