]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_program_opencl.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_program_opencl.c
index ec25e931f56245599b23df189f6ede755ac8b511..4b38baeb3c758ac4657cfacfdda9f776dacdb132 100644 (file)
@@ -362,7 +362,7 @@ static const AVFilterPad program_opencl_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_program_opencl = {
+const AVFilter ff_vf_program_opencl = {
     .name           = "program_opencl",
     .description    = NULL_IF_CONFIG_SMALL("Filter video using an OpenCL program"),
     .priv_size      = sizeof(ProgramOpenCLContext),
@@ -415,7 +415,7 @@ static const AVFilterPad openclsrc_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vsrc_openclsrc = {
+const AVFilter ff_vsrc_openclsrc = {
     .name           = "openclsrc",
     .description    = NULL_IF_CONFIG_SMALL("Generate video using an OpenCL program"),
     .priv_size      = sizeof(ProgramOpenCLContext),