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>
This commit is contained in:
Andreas Rheinhardt
2021-04-19 18:33:56 +02:00
committed by James Almer
parent 85ba17f36d
commit a04ad248a0
388 changed files with 967 additions and 967 deletions

View File

@@ -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),