]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_identity.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_identity.c
index 60d02e328bc8fdc65efec502da6a96f735df53ed..4e0a44d51827342febf875ffada35a8196468f03 100644 (file)
@@ -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,