summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-07-13 10:45:18 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-07-21 10:05:40 +0800
commit4373bb411c1d238b8785eee0714075dc49d61980 (patch)
tree4bd532fde378f03da9f86cd4680882c0f1f94df9 /libavformat/aviobuf.c
parent7eec3d22fc5f8f93a14a58836c5ac9f7b243e992 (diff)
lavf/avio: remove ffio_open2_wrapper function
Remove the function ffio_open2_wrapper, it's not being used anymore. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 6a5cd97b0a..2d011027c9 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -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;