History

avfilter: Constify all AVFilters

This is possible now that the next-API is gone.

Andreas Rheinhardt committed 5 years ago

Commit a04ad241 parent 85ba17f388 files · +967 −967Browse files

Showing the changes to libavfilter/vf_convolution.c (1 of 388 files). Show all

Unified · Split

libavfilter/vf_convolution.c+5−5
@@ -902,7 +902,7 @@ static const AVFilterPad convolution_outputs[] = { · 901 unmodified lines
902902
903903 #if CONFIG_CONVOLUTION_FILTER
904904
905−AVFilter ff_vf_convolution = {
905+const AVFilter ff_vf_convolution = {
906906 .name = "convolution",
907907 .description = NULL_IF_CONFIG_SMALL("Apply convolution filter."),
908908 .priv_size = sizeof(ConvolutionContext),
@@ -931,7 +931,7 @@ static const AVOption prewitt_roberts_sobel_options[] = { · 22 unmodified lines
931931 #define prewitt_options prewitt_roberts_sobel_options
932932 AVFILTER_DEFINE_CLASS(prewitt);
933933
934−AVFilter ff_vf_prewitt = {
934+const AVFilter ff_vf_prewitt = {
935935 .name = "prewitt",
936936 .description = NULL_IF_CONFIG_SMALL("Apply prewitt operator."),
937937 .priv_size = sizeof(ConvolutionContext),
@@ -951,7 +951,7 @@ AVFilter ff_vf_prewitt = { · 13 unmodified lines
951951 #define sobel_options prewitt_roberts_sobel_options
952952 AVFILTER_DEFINE_CLASS(sobel);
953953
954−AVFilter ff_vf_sobel = {
954+const AVFilter ff_vf_sobel = {
955955 .name = "sobel",
956956 .description = NULL_IF_CONFIG_SMALL("Apply sobel operator."),
957957 .priv_size = sizeof(ConvolutionContext),
@@ -971,7 +971,7 @@ AVFilter ff_vf_sobel = { · 13 unmodified lines
971971 #define roberts_options prewitt_roberts_sobel_options
972972 AVFILTER_DEFINE_CLASS(roberts);
973973
974−AVFilter ff_vf_roberts = {
974+const AVFilter ff_vf_roberts = {
975975 .name = "roberts",
976976 .description = NULL_IF_CONFIG_SMALL("Apply roberts cross operator."),
977977 .priv_size = sizeof(ConvolutionContext),
@@ -991,7 +991,7 @@ AVFilter ff_vf_roberts = { · 13 unmodified lines
991991 #define kirsch_options prewitt_roberts_sobel_options
992992 AVFILTER_DEFINE_CLASS(kirsch);
993993
994−AVFilter ff_vf_kirsch = {
994+const AVFilter ff_vf_kirsch = {
995995 .name = "kirsch",
996996 .description = NULL_IF_CONFIG_SMALL("Apply kirsch operator."),
997997 .priv_size = sizeof(ConvolutionContext),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t