]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_chromashift.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_chromashift.c
index 94de7a049e8132c62aea6167d9d55455f8f2dbd5..3f172a8e2b31c8448827db651d22801167acbeba 100644 (file)
@@ -446,7 +446,7 @@ static const AVFilterPad outputs[] = {
 
 AVFILTER_DEFINE_CLASS(chromashift);
 
-AVFilter ff_vf_chromashift = {
+const AVFilter ff_vf_chromashift = {
     .name          = "chromashift",
     .description   = NULL_IF_CONFIG_SMALL("Shift chroma."),
     .priv_size     = sizeof(ChromaShiftContext),
@@ -475,7 +475,7 @@ static const AVOption rgbashift_options[] = {
 
 AVFILTER_DEFINE_CLASS(rgbashift);
 
-AVFilter ff_vf_rgbashift = {
+const AVFilter ff_vf_rgbashift = {
     .name          = "rgbashift",
     .description   = NULL_IF_CONFIG_SMALL("Shift RGBA."),
     .priv_size     = sizeof(ChromaShiftContext),