49 if (
s->iformat->priv_class) {
50 *(
const AVClass**)
s->priv_data=
s->iformat->priv_class;
static const char *const format[]
static const FFInputFormat * ffifmt(const AVInputFormat *fmt)
static const AVInputFormat * iformat
AVFormatContext * avformat_alloc_context(void)
Allocate an AVFormatContext.
void avformat_free_context(AVFormatContext *s)
Free an AVFormatContext and all its streams.
const AVInputFormat * av_find_input_format(const char *short_name)
Find AVInputFormat based on the short name of the input format.
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
int ff_alloc_input_device_context(AVFormatContext **avctx, const AVInputFormat *iformat, const char *format)
#define AV_IS_INPUT_DEVICE(category)
Memory handling functions.
Describe the class of an AVClass context structure.
static void error(const char *err)