summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-03-05 19:10:06 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-03-08 09:38:09 +0800
commit26dbe88ea37beee64909bc320aaf932b8db13aee (patch)
tree25e83c630fae211f782f922cda09a31ccc4dc15f /libavfilter
parent0ce759defdab23d35abd8751a0f837c6aaa6ad12 (diff)
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>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_zscale.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 6e1d36cb4c..f0309272fa 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -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[] = {
{