Anton Khirnov 9f61abc811 lavf: allow custom IO for all files
Some (de)muxers open additional files beyond the main IO context.
Currently, they call avio_open() directly, which prevents the caller
from using custom IO for such streams.

This commit adds callbacks to AVFormatContext that default to
avio_open2()/avio_close(), but can be overridden by the caller. All
muxers and demuxers using AVIO are switched to using those callbacks
instead of calling avio_open()/avio_close() directly.

(de)muxers that use the URLProtocol layer directly instead of AVIO
remain unconverted for now. This should be fixed in later commits.
2016-01-24 16:45:32 +01:00
..
2016-01-24 16:45:32 +01:00
2013-08-28 11:02:56 +02:00
2013-07-25 19:43:32 +02:00
2015-11-09 08:09:41 +01:00
2015-11-30 10:58:46 -05:00
2015-02-28 21:51:24 +01:00
2012-12-21 00:18:34 +01:00
2014-09-04 07:14:27 -07:00
2011-12-11 00:32:25 +01:00
2012-12-21 00:18:34 +01:00