]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_selectivecolor.c
configure: fix vulkan dep for libglslang based filters
[ffmpeg] / libavfilter / vf_selectivecolor.c
index d8f339d54032979ed5b5a66ec74e853d10749263..4733cc48f210ed19968f91812ebea1c0073a09c6 100644 (file)
@@ -61,7 +61,7 @@ enum correction_method {
     NB_CORRECTION_METHODS,
 };
 
-static const char *color_names[NB_RANGES] = {
+static const char *const color_names[NB_RANGES] = {
     "red", "yellow", "green", "cyan", "blue", "magenta", "white", "neutral", "black"
 };
 
@@ -470,7 +470,7 @@ static const AVFilterPad selectivecolor_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_selectivecolor = {
+const AVFilter ff_vf_selectivecolor = {
     .name          = "selectivecolor",
     .description   = NULL_IF_CONFIG_SMALL("Apply CMYK adjustments to specific color ranges."),
     .priv_size     = sizeof(SelectiveColorContext),