diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-10 23:01:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-19 04:36:03 +0200 |
commit | f8047180a83715780163737098bb311fa2ea580f (patch) | |
tree | 5f0601bc9e622c9df7112ff33140926cc5d0b78e /libavfilter/vf_weave.c | |
parent | 57bc79e76ac51cd3db8cf7041fe66500826704cd (diff) | |
download | ffmpeg-f8047180a83715780163737098bb311fa2ea580f.tar.gz |
avfilter/vf_weave: Deduplicate AVClasses
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_weave.c')
-rw-r--r-- | libavfilter/vf_weave.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavfilter/vf_weave.c b/libavfilter/vf_weave.c index 5d20f65225..60e37a1037 100644 --- a/libavfilter/vf_weave.c +++ b/libavfilter/vf_weave.c @@ -47,7 +47,7 @@ static const AVOption weave_options[] = { { NULL } }; -AVFILTER_DEFINE_CLASS(weave); +AVFILTER_DEFINE_CLASS_EXT(weave, "(double)weave", weave_options); static int query_formats(AVFilterContext *ctx) { @@ -210,14 +210,11 @@ static av_cold int init(AVFilterContext *ctx) return 0; } -#define doubleweave_options weave_options -AVFILTER_DEFINE_CLASS(doubleweave); - const AVFilter ff_vf_doubleweave = { .name = "doubleweave", .description = NULL_IF_CONFIG_SMALL("Weave input video fields into double number of frames."), + .priv_class = &weave_class, .priv_size = sizeof(WeaveContext), - .priv_class = &doubleweave_class, .query_formats = query_formats, .init = init, .uninit = uninit, |