Commit ba32afd7 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/split: use AVFILTER_DEFINE_CLASS to define class

parent bec402b5
...@@ -97,19 +97,11 @@ static const AVOption options[] = { ...@@ -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[] = {
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment