summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showspectrum.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 18:33:56 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:05 -0300
commita04ad248a05e7b613abe09b3bb067f555108d794 (patch)
treeb32341a557c481a5c9b2221b1aab4cce5ff88f7d /libavfilter/avf_showspectrum.c
parent85ba17f36dbfde1baeaa47e14d30c337add52c0d (diff)
avfilter: Constify all AVFilters
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/avf_showspectrum.c')
-rw-r--r--libavfilter/avf_showspectrum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index c690665bad..4544bef0bd 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -1526,7 +1526,7 @@ static const AVFilterPad showspectrum_outputs[] = {
{ NULL }
};
-AVFilter ff_avf_showspectrum = {
+const AVFilter ff_avf_showspectrum = {
.name = "showspectrum",
.description = NULL_IF_CONFIG_SMALL("Convert input audio to a spectrum video output."),
.uninit = uninit,
@@ -1709,7 +1709,7 @@ static const AVFilterPad showspectrumpic_outputs[] = {
{ NULL }
};
-AVFilter ff_avf_showspectrumpic = {
+const AVFilter ff_avf_showspectrumpic = {
.name = "showspectrumpic",
.description = NULL_IF_CONFIG_SMALL("Convert input audio to a spectrum video output single picture."),
.uninit = uninit,