29 if (!iformat && !format)
static const char * format[]
int ff_alloc_input_device_context(AVFormatContext **avctx, AVInputFormat *iformat, const char *format)
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
static void error(const char *err)
#define AV_IS_INPUT_DEVICE(category)
AVFormatContext * avformat_alloc_context(void)
Allocate an AVFormatContext.
ff_const59 struct AVInputFormat * iformat
The input container format.
ff_const59 AVInputFormat * av_find_input_format(const char *short_name)
Find AVInputFormat based on the short name of the input format.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
AVClassCategory category
Category used for visualization (like color) This is only set if the category is equal for all object...
static AVInputFormat * iformat
Describe the class of an AVClass context structure.
void avformat_free_context(AVFormatContext *s)
Free an AVFormatContext and all its streams.
void * priv_data
Format private data.