Browse Source

lavfi/zscale: make use of AVFILTER_DEFINE_CLASS

use AVFILTER_DEFINE_CLASS for defining the filter classes

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
tags/n4.2
Jun Zhao 6 years ago
parent
commit
26dbe88ea3
1 changed files with 1 additions and 7 deletions
  1. +1
    -7
      libavfilter/vf_zscale.c

+ 1
- 7
libavfilter/vf_zscale.c View File

@@ -859,13 +859,7 @@ static const AVOption zscale_options[] = {
{ NULL }
};

static const AVClass zscale_class = {
.class_name = "zscale",
.item_name = av_default_item_name,
.option = zscale_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_FILTER,
};
AVFILTER_DEFINE_CLASS(zscale);

static const AVFilterPad avfilter_vf_zscale_inputs[] = {
{


Loading…
Cancel
Save