lavfi/split: use AVFILTER_DEFINE_CLASS to define class
This commit is contained in:
parent
bec402b502
commit
ba32afd70e
@ -97,19 +97,11 @@ static const AVOption options[] = {
|
|||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const AVClass split_class = {
|
#define split_options options
|
||||||
.class_name = "split",
|
AVFILTER_DEFINE_CLASS(split);
|
||||||
.item_name = av_default_item_name,
|
|
||||||
.option = options,
|
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const AVClass asplit_class = {
|
#define asplit_options options
|
||||||
.class_name = "asplit",
|
AVFILTER_DEFINE_CLASS(asplit);
|
||||||
.item_name = av_default_item_name,
|
|
||||||
.option = options,
|
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const AVFilterPad avfilter_vf_split_inputs[] = {
|
static const AVFilterPad avfilter_vf_split_inputs[] = {
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user