Commit 26dbe88e authored by Jun Zhao's avatar Jun Zhao

lavfi/zscale: make use of AVFILTER_DEFINE_CLASS

use AVFILTER_DEFINE_CLASS for defining the filter classes
Signed-off-by: 's avatarJun Zhao <barryjzhao@tencent.com>
parent 0ce759de
......@@ -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[] = {
{
......
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