diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-11 17:45:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-11 21:55:18 +0200 |
commit | 541d75f9a0b6e1b360345e289cb44e43a39643cd (patch) | |
tree | 48051441b995a9637db2ed0461145cd325f2f2c9 /libavformat/aviobuf.c | |
parent | 0382c94f13b4b20456b7259e90b170dc020419b8 (diff) | |
download | ffmpeg-541d75f9a0b6e1b360345e289cb44e43a39643cd.tar.gz |
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; |