Commit 4373bb41 authored by Jun Zhao's avatar Jun Zhao

lavf/avio: remove ffio_open2_wrapper function

Remove the function ffio_open2_wrapper, it's not being used anymore.
Signed-off-by: 's avatarJun Zhao <barryjzhao@tencent.com>
parent 7eec3d22
......@@ -1180,12 +1180,6 @@ int avio_open2(AVIOContext **s, const char *filename, int flags,
return ffio_open_whitelist(s, filename, flags, int_cb, options, NULL, NULL);
}
int ffio_open2_wrapper(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags,
const AVIOInterruptCB *int_cb, AVDictionary **options)
{
return ffio_open_whitelist(pb, url, flags, int_cb, options, s->protocol_whitelist, s->protocol_blacklist);
}
int avio_close(AVIOContext *s)
{
AVIOInternal *internal;
......
......@@ -650,9 +650,6 @@ enum AVWriteUncodedFrameFlags {
*/
int ff_copy_whiteblacklists(AVFormatContext *dst, const AVFormatContext *src);
int ffio_open2_wrapper(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags,
const AVIOInterruptCB *int_cb, AVDictionary **options);
/**
* Returned by demuxers to indicate that data was consumed but discarded
* (ignored streams or junk data). The framework will re-call the demuxer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment