summaryrefslogtreecommitdiff
path: root/libavfilter/vf_convolution.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_convolution.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_convolution.c')
-rw-r--r--libavfilter/vf_convolution.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/vf_convolution.c b/libavfilter/vf_convolution.c
index 0b7356b320..c0fc7356bd 100644
--- a/libavfilter/vf_convolution.c
+++ b/libavfilter/vf_convolution.c
@@ -902,7 +902,7 @@ static const AVFilterPad convolution_outputs[] = {
#if CONFIG_CONVOLUTION_FILTER
-AVFilter ff_vf_convolution = {
+const AVFilter ff_vf_convolution = {
.name = "convolution",
.description = NULL_IF_CONFIG_SMALL("Apply convolution filter."),
.priv_size = sizeof(ConvolutionContext),
@@ -931,7 +931,7 @@ static const AVOption prewitt_roberts_sobel_options[] = {
#define prewitt_options prewitt_roberts_sobel_options
AVFILTER_DEFINE_CLASS(prewitt);
-AVFilter ff_vf_prewitt = {
+const AVFilter ff_vf_prewitt = {
.name = "prewitt",
.description = NULL_IF_CONFIG_SMALL("Apply prewitt operator."),
.priv_size = sizeof(ConvolutionContext),
@@ -951,7 +951,7 @@ AVFilter ff_vf_prewitt = {
#define sobel_options prewitt_roberts_sobel_options
AVFILTER_DEFINE_CLASS(sobel);
-AVFilter ff_vf_sobel = {
+const AVFilter ff_vf_sobel = {
.name = "sobel",
.description = NULL_IF_CONFIG_SMALL("Apply sobel operator."),
.priv_size = sizeof(ConvolutionContext),
@@ -971,7 +971,7 @@ AVFilter ff_vf_sobel = {
#define roberts_options prewitt_roberts_sobel_options
AVFILTER_DEFINE_CLASS(roberts);
-AVFilter ff_vf_roberts = {
+const AVFilter ff_vf_roberts = {
.name = "roberts",
.description = NULL_IF_CONFIG_SMALL("Apply roberts cross operator."),
.priv_size = sizeof(ConvolutionContext),
@@ -991,7 +991,7 @@ AVFilter ff_vf_roberts = {
#define kirsch_options prewitt_roberts_sobel_options
AVFILTER_DEFINE_CLASS(kirsch);
-AVFilter ff_vf_kirsch = {
+const AVFilter ff_vf_kirsch = {
.name = "kirsch",
.description = NULL_IF_CONFIG_SMALL("Apply kirsch operator."),
.priv_size = sizeof(ConvolutionContext),