mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
Update demuxers and protocols for protocol whitelist support
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -86,7 +86,8 @@ static int cache_open(URLContext *h, const char *arg, int flags, AVDictionary **
|
||||
unlink(buffername);
|
||||
av_freep(&buffername);
|
||||
|
||||
return ffurl_open(&c->inner, arg, flags, &h->interrupt_callback, options);
|
||||
return ffurl_open_whitelist(&c->inner, arg, flags, &h->interrupt_callback,
|
||||
options, h->protocol_whitelist);
|
||||
}
|
||||
|
||||
static int add_entry(URLContext *h, const unsigned char *buf, int size)
|
||||
|
||||
Reference in New Issue
Block a user