[FFmpeg-cvslog] lavf/avio: remove ffio_open2_wrapper function
Jun Zhao
git at videolan.org
Sun Jul 21 05:19:11 EEST 2019
ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Sat Jul 13 10:45:18 2019 +0800| [4373bb411c1d238b8785eee0714075dc49d61980] | committer: Jun Zhao
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 at tencent.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4373bb411c1d238b8785eee0714075dc49d61980
---
libavformat/aviobuf.c | 6 ------
libavformat/internal.h | 3 ---
2 files changed, 9 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;
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 399d0a68be..cf8c16579c 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -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.
More information about the ffmpeg-cvslog
mailing list