Browse Source

lavfi/split: use AVFILTER_DEFINE_CLASS to define class

tags/n2.0
Stefano Sabatini 12 years ago
parent
commit
ba32afd70e
1 changed files with 4 additions and 12 deletions
  1. +4
    -12
      libavfilter/split.c

+ 4
- 12
libavfilter/split.c 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[] = {
{


Loading…
Cancel
Save