summaryrefslogtreecommitdiff
path: root/libavformat/md5proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/md5proto.c')
-rw-r--r--libavformat/md5proto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c
index 6af0a6ed26..9a092e4b3c 100644
--- a/libavformat/md5proto.c
+++ b/libavformat/md5proto.c
@@ -69,8 +69,9 @@ static int md5_close(URLContext *h)
av_strstart(filename, "md5:", &filename);
if (*filename) {
- err = ffurl_open(&out, filename, AVIO_FLAG_WRITE,
- &h->interrupt_callback, NULL);
+ err = ffurl_open_whitelist(&out, filename, AVIO_FLAG_WRITE,
+ &h->interrupt_callback, NULL,
+ h->protocol_whitelist);
if (err)
return err;
err = ffurl_write(out, buf, i*2+1);