lavfi/split: use AVFILTER_DEFINE_CLASS to define class

This commit is contained in:
Stefano Sabatini 2013-04-15 23:59:47 +02:00
parent bec402b502
commit ba32afd70e

View File

@ -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[] = {
{ {