]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sapdec.c
Merge commit 'c51b2c79a7ba084253e892c56dd49ee97115c7de'
[ffmpeg] / libavformat / sapdec.c
index 808ae1449de04abb0b2a694b1fbb7b3989951abe..926795b6a9dd2a263a8bbe5785c7961ed012fa8a 100644 (file)
@@ -85,8 +85,9 @@ static int sap_read_header(AVFormatContext *s)
 
     ff_url_join(url, sizeof(url), "udp", NULL, host, port, "?localport=%d",
                 port);
-    ret = ffurl_open(&sap->ann_fd, url, AVIO_FLAG_READ,
-                     &s->interrupt_callback, NULL);
+    ret = ffurl_open_whitelist(&sap->ann_fd, url, AVIO_FLAG_READ,
+                               &s->interrupt_callback, NULL,
+                               s->protocol_whitelist);
     if (ret)
         goto fail;