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_drawbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_drawbox.c') diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c index 6151db4d22..2794fc2520 100644 --- a/libavfilter/vf_drawbox.c +++ b/libavfilter/vf_drawbox.c @@ -347,7 +347,7 @@ static const AVFilterPad drawbox_outputs[] = { { NULL } }; -AVFilter ff_vf_drawbox = { +const AVFilter ff_vf_drawbox = { .name = "drawbox", .description = NULL_IF_CONFIG_SMALL("Draw a colored box on the input video."), .priv_size = sizeof(DrawBoxContext), @@ -481,7 +481,7 @@ static const AVFilterPad drawgrid_outputs[] = { { NULL } }; -AVFilter ff_vf_drawgrid = { +const AVFilter ff_vf_drawgrid = { .name = "drawgrid", .description = NULL_IF_CONFIG_SMALL("Draw a colored grid on the input video."), .priv_size = sizeof(DrawBoxContext), -- cgit v1.2.3