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
1 changed files with 4 additions and 12 deletions

View File

@ -97,19 +97,11 @@ static const AVOption options[] = {
{ NULL },
};
static const AVClass split_class = {
.class_name = "split",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
#define split_options options
AVFILTER_DEFINE_CLASS(split);
static const AVClass asplit_class = {
.class_name = "asplit",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
#define asplit_options options
AVFILTER_DEFINE_CLASS(asplit);
static const AVFilterPad avfilter_vf_split_inputs[] = {
{