]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_neighbor_opencl.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_neighbor_opencl.c
index fb40132d957ab79b2bbb95bb6f2bdd6abbad2a27..a41fd384a173cbc4addd2b31d779f569c4fff364 100644 (file)
@@ -274,7 +274,7 @@ static const AVOption erosion_opencl_options[] = {
 
 AVFILTER_DEFINE_CLASS(erosion_opencl);
 
-AVFilter ff_vf_erosion_opencl = {
+const AVFilter ff_vf_erosion_opencl = {
     .name           = "erosion_opencl",
     .description    = NULL_IF_CONFIG_SMALL("Apply erosion effect"),
     .priv_size      = sizeof(NeighborOpenCLContext),
@@ -302,7 +302,7 @@ static const AVOption dilation_opencl_options[] = {
 
 AVFILTER_DEFINE_CLASS(dilation_opencl);
 
-AVFilter ff_vf_dilation_opencl = {
+const AVFilter ff_vf_dilation_opencl = {
     .name           = "dilation_opencl",
     .description    = NULL_IF_CONFIG_SMALL("Apply dilation effect"),
     .priv_size      = sizeof(NeighborOpenCLContext),