101 options = &opts_local;
int(* io_open)(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, AVDictionary **options)
A callback for opening new IO streams.
void * av_malloc(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
AVIOInterruptCB interrupt_callback
Custom interrupt callbacks for the I/O layer.
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
AVFormatInternal * internal
An opaque field for libavformat internal usage.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
const AVClass * av_class
A class for private options.
AVFormatContext * avformat_alloc_context(void)
Allocate an AVFormatContext.
char * protocol_whitelist
A comma-separated list of protocol names that can be used internally by libavformat.
const AVClass ff_avio_class
const AVClass * avformat_get_class(void)
Get the AVClass for AVFormatContext.
struct AVOutputFormat * oformat
The output container format.
const OptionDef options[]
int avio_close(AVIOContext *s)
Close the resource accessed by the AVIOContext s and free it.
void av_dict_free(AVDictionary **pm)
Free all the memory allocated for an AVDictionary struct and all keys and values. ...
common internal API header
AVOutputFormat * av_oformat_next(const AVOutputFormat *f)
If f is NULL, returns the first registered output format, if f is non-NULL, returns the next register...
AVIOContext * pb
I/O context.
void(* io_close)(struct AVFormatContext *s, AVIOContext *pb)
A callback for closing the streams opened with AVFormatContext.io_open().
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags)
Set the given entry in *pm, overwriting an existing entry.
Describe the class of an AVClass context structure.
const AVClass * av_class
A class for logging and AVOptions.
int avio_open2(AVIOContext **s, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options)
Create and initialize a AVIOContext for accessing the resource indicated by url.
void avformat_free_context(AVFormatContext *s)
Free an AVFormatContext and all its streams.
#define FF_DISABLE_DEPRECATION_WARNINGS
struct AVInputFormat * iformat
The input container format.
#define FF_ENABLE_DEPRECATION_WARNINGS
void * priv_data
Format private data.
char * protocol_blacklist
A comma-separated list of protocol names that will not be used internally by libavformat.
unbuffered private I/O API
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
AVInputFormat * av_iformat_next(const AVInputFormat *f)
If f is NULL, returns the first registered input format, if f is non-NULL, returns the next registere...
#define AV_NOPTS_VALUE
Undefined timestamp value.