diff options
Diffstat (limited to 'libavfilter/vf_lumakey.c')
-rw-r--r-- | libavfilter/vf_lumakey.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_lumakey.c b/libavfilter/vf_lumakey.c index b556f7ab7a..b3bfb0a278 100644 --- a/libavfilter/vf_lumakey.c +++ b/libavfilter/vf_lumakey.c @@ -176,7 +176,6 @@ static const AVFilterPad lumakey_inputs[] = { .filter_frame = filter_frame, .config_props = config_input, }, - { NULL } }; static const AVFilterPad lumakey_outputs[] = { @@ -184,7 +183,6 @@ static const AVFilterPad lumakey_outputs[] = { .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, - { NULL } }; #define OFFSET(x) offsetof(LumakeyContext, x) @@ -205,8 +203,8 @@ const AVFilter ff_vf_lumakey = { .priv_size = sizeof(LumakeyContext), .priv_class = &lumakey_class, .query_formats = query_formats, - .inputs = lumakey_inputs, - .outputs = lumakey_outputs, + FILTER_INPUTS(lumakey_inputs), + FILTER_OUTPUTS(lumakey_outputs), .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS, .process_command = process_command, }; |