diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-11 18:45:13 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-11 22:55:18 +0300 |
commit | 541d75f9a0b6e1b360345e289cb44e43a39643cd (patch) | |
tree | 48051441b995a9637db2ed0461145cd325f2f2c9 /libavformat/aviobuf.c | |
parent | 0382c94f13b4b20456b7259e90b170dc020419b8 (diff) |
avformat: add callback for opening further files
Previous version reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 333c75ce66..9701d74f19 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -918,6 +918,12 @@ int avio_open2(AVIOContext **s, const char *filename, int flags, return 0; } +int ffio_open2_wrapper(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, + const AVIOInterruptCB *int_cb, AVDictionary **options) +{ + return avio_open2(pb, url, flags, int_cb, options); +} + int avio_close(AVIOContext *s) { URLContext *h; |