]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_histogram.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_histogram.c
index ed6892bc8ba6a2cd945d3abb8ca32876df6d563c..0862b2ae2a9d2b2b068c4fc65967a94c86658730 100644 (file)
@@ -503,7 +503,7 @@ static const AVFilterPad outputs[] = {
 
 #if CONFIG_HISTOGRAM_FILTER
 
-AVFilter ff_vf_histogram = {
+const AVFilter ff_vf_histogram = {
     .name          = "histogram",
     .description   = NULL_IF_CONFIG_SMALL("Compute and draw a histogram."),
     .priv_size     = sizeof(HistogramContext),
@@ -545,7 +545,7 @@ static const AVOption thistogram_options[] = {
 
 AVFILTER_DEFINE_CLASS(thistogram);
 
-AVFilter ff_vf_thistogram = {
+const AVFilter ff_vf_thistogram = {
     .name          = "thistogram",
     .description   = NULL_IF_CONFIG_SMALL("Compute and draw a temporal histogram."),
     .priv_size     = sizeof(HistogramContext),