diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-02-19 18:02:45 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-02-22 11:45:31 +0100 |
commit | 8c0ceafb0f25da077ff23e394667119f031574fd (patch) | |
tree | c495ca2679de2d9c0bc436652cfb5764cee47905 /libavformat/md5proto.c | |
parent | cae448cfbf31d492cba782bc64fc4eed556ed83d (diff) | |
download | ffmpeg-streaming-8c0ceafb0f25da077ff23e394667119f031574fd.zip ffmpeg-streaming-8c0ceafb0f25da077ff23e394667119f031574fd.tar.gz |
urlprotocol: receive a list of protocols from the caller
This way, the decisions about which protocols are available for use in
any given situations can be delegated to the caller.
Diffstat (limited to 'libavformat/md5proto.c')
-rw-r--r-- | libavformat/md5proto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c index 42b64b2..07c085a 100644 --- a/libavformat/md5proto.c +++ b/libavformat/md5proto.c @@ -70,7 +70,8 @@ static int md5_close(URLContext *h) if (*filename) { err = ffurl_open(&out, filename, AVIO_FLAG_WRITE, - &h->interrupt_callback, NULL); + &h->interrupt_callback, NULL, + h->protocols); if (err) return err; err = ffurl_write(out, buf, i*2+1); |