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