diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-30 04:17:51 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-02 06:16:50 +0300 |
commit | fe3fed0b143ef6bf2d9b65ce05d55aba4224429e (patch) | |
tree | 45ead8f324a1e5190ea4905cb574325a3d9196bd /libavformat/md5proto.c | |
parent | 1dba8371d93cf1c83bcd5c432d921905206a60f3 (diff) |
Update demuxers and protocols for protocol whitelist support
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/md5proto.c')
-rw-r--r-- | libavformat/md5proto.c | 5 |
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); |