mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
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>
This commit is contained in:
parent
0ce759defd
commit
26dbe88ea3
@ -859,13 +859,7 @@ static const AVOption zscale_options[] = {
|
|||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const AVClass zscale_class = {
|
AVFILTER_DEFINE_CLASS(zscale);
|
||||||
.class_name = "zscale",
|
|
||||||
.item_name = av_default_item_name,
|
|
||||||
.option = zscale_options,
|
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
|
||||||
.category = AV_CLASS_CATEGORY_FILTER,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const AVFilterPad avfilter_vf_zscale_inputs[] = {
|
static const AVFilterPad avfilter_vf_zscale_inputs[] = {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user