A class for private options.
< End of the data, may be less than buffer+buffer_size if the read function returned less data than requested, e.g. for streams where no more data has been received yet.
< Current position in the buffer
Maximum reached position before a backward seek in the write buffer, used keeping track of already written data for a later flush.
< Start of the buffer.
< Maximum buffer size
Bytes read statistic This field is internal to libavformat and access from outside is not allowed.
Internal, not meant to be used from outside of AVIOContext.
avio_read and avio_write should if possible be satisfied directly instead of going through a buffer, and avio_seek will always call the underlying seek function directly.
< true if eof reached
< contains the error code or 0 if no error happened
If set, don't call write_data_type separately for AVIO_DATA_MARKER_BOUNDARY_POINT, but ignore them and treat them as AVIO_DATA_MARKER_UNKNOWN (to avoid needlessly small chunks of data returned from the callback).
max filesize, used to limit allocations This field is internal to libavformat and access from outside is not allowed.
Try to buffer at least this amount of data before flushing it
< A private pointer, passed to the read/write/seek/... functions.
Original buffer size used internally after probing and ensure seekback to reset the buffer size This field is internal to libavformat and access from outside is not allowed.
< position in the file of the current buffer
',' separated list of disallowed protocols.
',' separated list of allowed protocols.
Pause or resume playback for network streaming protocols - e.g. MMS.
Seek to a given timestamp in stream with the specified stream_index. Needed for some network streaming protocols which don't support seeking to byte position.
seek statistic This field is internal to libavformat and access from outside is not allowed.
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
A callback that is used instead of short_seek_threshold. This is current internal only, do not use from outside.
Threshold to favor readahead over seek. This is current internal only, do not use from outside.
A callback that is used instead of write_packet.
< true if open for writing
writeout statistic This field is internal to libavformat and access from outside is not allowed.
Bytestream IO Context. New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVIOContext) must not be used outside libav*.
@note None of the function pointers in AVIOContext should be called directly, they should only be set by the client application when implementing custom I/O. Normally these are set to the function pointers specified in avio_alloc_context()