From a04ad248a05e7b613abe09b3bb067f555108d794 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 19 Apr 2021 18:33:56 +0200 Subject: avfilter: Constify all AVFilters This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavfilter/vf_premultiply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_premultiply.c') diff --git a/libavfilter/vf_premultiply.c b/libavfilter/vf_premultiply.c index e051cadac0..b5d0ca6d67 100644 --- a/libavfilter/vf_premultiply.c +++ b/libavfilter/vf_premultiply.c @@ -824,7 +824,7 @@ static const AVFilterPad premultiply_outputs[] = { #if CONFIG_PREMULTIPLY_FILTER -AVFilter ff_vf_premultiply = { +const AVFilter ff_vf_premultiply = { .name = "premultiply", .description = NULL_IF_CONFIG_SMALL("PreMultiply first stream with first plane of second stream."), .priv_size = sizeof(PreMultiplyContext), @@ -847,7 +847,7 @@ AVFilter ff_vf_premultiply = { #define unpremultiply_options options AVFILTER_DEFINE_CLASS(unpremultiply); -AVFilter ff_vf_unpremultiply = { +const AVFilter ff_vf_unpremultiply = { .name = "unpremultiply", .description = NULL_IF_CONFIG_SMALL("UnPreMultiply first stream with first plane of second stream."), .priv_size = sizeof(PreMultiplyContext), -- cgit v1.2.3