Go to the documentation of this file.
39 if(
fc->iformat)
return fc->iformat->name;
40 else if(
fc->oformat)
return fc->oformat->name;
47 if (!prev &&
s->priv_data &&
48 ((
s->iformat &&
s->iformat->priv_class) ||
49 s->oformat &&
s->oformat->priv_class))
51 if (
s->pb &&
s->pb->av_class && prev !=
s->pb)
64 while ((ifmt = av_iformat_next(ifmt)))
69 while ((ofmt = av_oformat_next(ofmt)))
73 while (ifmt = av_iformat_next(ifmt))
77 while (ofmt = av_oformat_next(ofmt))
107 if (!strcmp(url,
s->url) ||
108 s->iformat && !strcmp(
s->iformat->name,
"image2") ||
109 s->oformat && !strcmp(
s->oformat->name,
"image2")
117 #if FF_API_OLD_OPEN_CALLBACKS
#define FF_ENABLE_DEPRECATION_WARNINGS
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
int avio_close(AVIOContext *s)
Close the resource accessed by the AVIOContext s and free it.
const AVClass * avformat_get_class(void)
Get the AVClass for AVFormatContext.
enum AVDurationEstimationMethod duration_estimation_method
The duration field can be estimated through various ways, and this field can be used to know how the ...
int ffio_open_whitelist(AVIOContext **s, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options, const char *whitelist, const char *blacklist)
#define fc(width, name, range_min, range_max)
const AVClass ff_avio_class
AVFormatInternal * internal
An opaque field for libavformat internal usage.
#define AVIO_FLAG_WRITE
write-only
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
@ AV_CLASS_CATEGORY_DEMUXER
#define LIBAVUTIL_VERSION_INT
Describe the class of an AVClass context structure.
const OptionDef options[]
AVFormatContext * avformat_alloc_context(void)
Allocate an AVFormatContext.
AVClassCategory category
Category used for visualization (like color) This is only set if the category is equal for all object...
#define AV_NOPTS_VALUE
Undefined timestamp value.
#define AV_LOG_INFO
Standard information.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
@ AV_CLASS_CATEGORY_MUXER
void avformat_free_context(AVFormatContext *s)
Free an AVFormatContext and all its streams.
#define FF_DISABLE_DEPRECATION_WARNINGS
#define flags(name, subs,...)