summaryrefslogtreecommitdiff
path: root/libavfilter/vf_identity.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/vf_identity.c
parent85ba17f36dbfde1baeaa47e14d30c337add52c0d (diff)
downloadffmpeg-a04ad248a05e7b613abe09b3bb067f555108d794.tar.gz
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/vf_identity.c')
-rw-r--r--libavfilter/vf_identity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_identity.c b/libavfilter/vf_identity.c
index 60d02e328b..4e0a44d518 100644
--- a/libavfilter/vf_identity.c
+++ b/libavfilter/vf_identity.c
@@ -413,7 +413,7 @@ static const AVOption options[] = {
#define identity_options options
FRAMESYNC_DEFINE_CLASS(identity, IdentityContext, fs);
-AVFilter ff_vf_identity = {
+const AVFilter ff_vf_identity = {
.name = "identity",
.description = NULL_IF_CONFIG_SMALL("Calculate the Identity between two video streams."),
.preinit = identity_framesync_preinit,
@@ -435,7 +435,7 @@ AVFilter ff_vf_identity = {
#define msad_options options
FRAMESYNC_DEFINE_CLASS(msad, IdentityContext, fs);
-AVFilter ff_vf_msad = {
+const AVFilter ff_vf_msad = {
.name = "msad",
.description = NULL_IF_CONFIG_SMALL("Calculate the MSAD between two video streams."),
.preinit = msad_framesync_preinit,