This is possible now that the next-API is gone.
Showing the changes to libavfilter/vf_convolution.c (1 of 388 files). Show all
Unified · Split
| @@ -902,7 +902,7 @@ static const AVFilterPad convolution_outputs[] = { · 901 unmodified lines | ||
| 902 | 902 | |
| 903 | 903 | #if CONFIG_CONVOLUTION_FILTER |
| 904 | 904 | |
| 905 | −AVFilter ff_vf_convolution = { | |
| 905 | +const AVFilter ff_vf_convolution = { | |
| 906 | 906 | .name = "convolution", |
| 907 | 907 | .description = NULL_IF_CONFIG_SMALL("Apply convolution filter."), |
| 908 | 908 | .priv_size = sizeof(ConvolutionContext), |
| @@ -931,7 +931,7 @@ static const AVOption prewitt_roberts_sobel_options[] = { · 22 unmodified lines | ||
| 931 | 931 | #define prewitt_options prewitt_roberts_sobel_options |
| 932 | 932 | AVFILTER_DEFINE_CLASS(prewitt); |
| 933 | 933 | |
| 934 | −AVFilter ff_vf_prewitt = { | |
| 934 | +const AVFilter ff_vf_prewitt = { | |
| 935 | 935 | .name = "prewitt", |
| 936 | 936 | .description = NULL_IF_CONFIG_SMALL("Apply prewitt operator."), |
| 937 | 937 | .priv_size = sizeof(ConvolutionContext), |
| @@ -951,7 +951,7 @@ AVFilter ff_vf_prewitt = { · 13 unmodified lines | ||
| 951 | 951 | #define sobel_options prewitt_roberts_sobel_options |
| 952 | 952 | AVFILTER_DEFINE_CLASS(sobel); |
| 953 | 953 | |
| 954 | −AVFilter ff_vf_sobel = { | |
| 954 | +const AVFilter ff_vf_sobel = { | |
| 955 | 955 | .name = "sobel", |
| 956 | 956 | .description = NULL_IF_CONFIG_SMALL("Apply sobel operator."), |
| 957 | 957 | .priv_size = sizeof(ConvolutionContext), |
| @@ -971,7 +971,7 @@ AVFilter ff_vf_sobel = { · 13 unmodified lines | ||
| 971 | 971 | #define roberts_options prewitt_roberts_sobel_options |
| 972 | 972 | AVFILTER_DEFINE_CLASS(roberts); |
| 973 | 973 | |
| 974 | −AVFilter ff_vf_roberts = { | |
| 974 | +const AVFilter ff_vf_roberts = { | |
| 975 | 975 | .name = "roberts", |
| 976 | 976 | .description = NULL_IF_CONFIG_SMALL("Apply roberts cross operator."), |
| 977 | 977 | .priv_size = sizeof(ConvolutionContext), |
| @@ -991,7 +991,7 @@ AVFilter ff_vf_roberts = { · 13 unmodified lines | ||
| 991 | 991 | #define kirsch_options prewitt_roberts_sobel_options |
| 992 | 992 | AVFILTER_DEFINE_CLASS(kirsch); |
| 993 | 993 | |
| 994 | −AVFilter ff_vf_kirsch = { | |
| 994 | +const AVFilter ff_vf_kirsch = { | |
| 995 | 995 | .name = "kirsch", |
| 996 | 996 | .description = NULL_IF_CONFIG_SMALL("Apply kirsch operator."), |
| 997 | 997 | .priv_size = sizeof(ConvolutionContext), |