summaryrefslogtreecommitdiff
path: root/libavfilter/vf_setparams.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_setparams.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_setparams.c')
-rw-r--r--libavfilter/vf_setparams.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c
index 689097fac0..0cb3af33ed 100644
--- a/libavfilter/vf_setparams.c
+++ b/libavfilter/vf_setparams.c
@@ -162,7 +162,7 @@ static const AVFilterPad outputs[] = {
{ NULL }
};
-AVFilter ff_vf_setparams = {
+const AVFilter ff_vf_setparams = {
.name = "setparams",
.description = NULL_IF_CONFIG_SMALL("Force field, or color property for the output video frame."),
.priv_size = sizeof(SetParamsContext),
@@ -200,7 +200,7 @@ static av_cold int init_setrange(AVFilterContext *ctx)
return 0;
}
-AVFilter ff_vf_setrange = {
+const AVFilter ff_vf_setrange = {
.name = "setrange",
.description = NULL_IF_CONFIG_SMALL("Force color range for the output video frame."),
.priv_size = sizeof(SetParamsContext),
@@ -234,7 +234,7 @@ static av_cold int init_setfield(AVFilterContext *ctx)
return 0;
}
-AVFilter ff_vf_setfield = {
+const AVFilter ff_vf_setfield = {
.name = "setfield",
.description = NULL_IF_CONFIG_SMALL("Force field for the output video frame."),
.priv_size = sizeof(SetParamsContext),