summaryrefslogtreecommitdiff
path: root/libavfilter/vf_avgblur_opencl.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 18:33:56 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:05 -0300
commita04ad248a05e7b613abe09b3bb067f555108d794 (patch)
treeb32341a557c481a5c9b2221b1aab4cce5ff88f7d /libavfilter/vf_avgblur_opencl.c
parent85ba17f36dbfde1baeaa47e14d30c337add52c0d (diff)
avfilter: Constify all AVFilters
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_avgblur_opencl.c')
-rw-r--r--libavfilter/vf_avgblur_opencl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c
index f0e5f01e04..3b9e56b879 100644
--- a/libavfilter/vf_avgblur_opencl.c
+++ b/libavfilter/vf_avgblur_opencl.c
@@ -340,7 +340,7 @@ static const AVOption avgblur_opencl_options[] = {
AVFILTER_DEFINE_CLASS(avgblur_opencl);
-AVFilter ff_vf_avgblur_opencl = {
+const AVFilter ff_vf_avgblur_opencl = {
.name = "avgblur_opencl",
.description = NULL_IF_CONFIG_SMALL("Apply average blur filter"),
.priv_size = sizeof(AverageBlurOpenCLContext),
@@ -379,7 +379,7 @@ static const AVOption boxblur_opencl_options[] = {
AVFILTER_DEFINE_CLASS(boxblur_opencl);
-AVFilter ff_vf_boxblur_opencl = {
+const AVFilter ff_vf_boxblur_opencl = {
.name = "boxblur_opencl",
.description = NULL_IF_CONFIG_SMALL("Apply boxblur filter to input video"),
.priv_size = sizeof(AverageBlurOpenCLContext),