diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 18:33:56 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 11:48:05 -0300 |
commit | a04ad248a05e7b613abe09b3bb067f555108d794 (patch) | |
tree | b32341a557c481a5c9b2221b1aab4cce5ff88f7d /libavfilter/vf_chromakey.c | |
parent | 85ba17f36dbfde1baeaa47e14d30c337add52c0d (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/vf_chromakey.c')
-rw-r--r-- | libavfilter/vf_chromakey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_chromakey.c b/libavfilter/vf_chromakey.c index 4b1669d084..45d8e43c2c 100644 --- a/libavfilter/vf_chromakey.c +++ b/libavfilter/vf_chromakey.c @@ -398,7 +398,7 @@ static const AVOption chromakey_options[] = { AVFILTER_DEFINE_CLASS(chromakey); -AVFilter ff_vf_chromakey = { +const AVFilter ff_vf_chromakey = { .name = "chromakey", .description = NULL_IF_CONFIG_SMALL("Turns a certain color into transparency. Operates on YUV colors."), .priv_size = sizeof(ChromakeyContext), @@ -440,7 +440,7 @@ static const AVFilterPad chromahold_outputs[] = { AVFILTER_DEFINE_CLASS(chromahold); -AVFilter ff_vf_chromahold = { +const AVFilter ff_vf_chromahold = { .name = "chromahold", .description = NULL_IF_CONFIG_SMALL("Turns a certain color range into gray."), .priv_size = sizeof(ChromakeyContext), |