]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_extractplanes.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_extractplanes.c
index 01ce4d1a3d73cd1769c8573911539dc3fc319a47..cede3d669ee4144306b138a310a573b8694e6354 100644 (file)
@@ -379,7 +379,7 @@ static const AVFilterPad extractplanes_inputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_extractplanes = {
+const AVFilter ff_vf_extractplanes = {
     .name          = "extractplanes",
     .description   = NULL_IF_CONFIG_SMALL("Extract planes as grayscale frames."),
     .priv_size     = sizeof(ExtractPlanesContext),
@@ -403,7 +403,7 @@ static av_cold int init_alphaextract(AVFilterContext *ctx)
     return init(ctx);
 }
 
-AVFilter ff_vf_alphaextract = {
+const AVFilter ff_vf_alphaextract = {
     .name           = "alphaextract",
     .description    = NULL_IF_CONFIG_SMALL("Extract an alpha channel as a "
                       "grayscale image component."),