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.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
#define AV_IS_INPUT_DEVICE(category)
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...
AVInputFormat * av_find_input_format(const char *short_name)
Find AVInputFormat based on the short name of the input format.
static void error(const char *err)
static AVInputFormat * iformat
Describe the class of an AVClass context structure.
void avformat_free_context(AVFormatContext *s)
Free an AVFormatContext and all its streams.
struct AVInputFormat * iformat
The input container format.
void * priv_data
Format private data.