diff options
Diffstat (limited to 'libavfilter/vf_tonemap.c')
-rw-r--r-- | libavfilter/vf_tonemap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_tonemap.c b/libavfilter/vf_tonemap.c index eb99ce77f3..8ea54ecafb 100644 --- a/libavfilter/vf_tonemap.c +++ b/libavfilter/vf_tonemap.c @@ -324,7 +324,6 @@ static const AVFilterPad tonemap_inputs[] = { .type = AVMEDIA_TYPE_VIDEO, .filter_frame = filter_frame, }, - { NULL } }; static const AVFilterPad tonemap_outputs[] = { @@ -332,7 +331,6 @@ static const AVFilterPad tonemap_outputs[] = { .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, - { NULL } }; const AVFilter ff_vf_tonemap = { @@ -342,7 +340,7 @@ const AVFilter ff_vf_tonemap = { .query_formats = query_formats, .priv_size = sizeof(TonemapContext), .priv_class = &tonemap_class, - .inputs = tonemap_inputs, - .outputs = tonemap_outputs, + FILTER_INPUTS(tonemap_inputs), + FILTER_OUTPUTS(tonemap_outputs), .flags = AVFILTER_FLAG_SLICE_THREADS, }; |