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_scale.c | |
parent | 85ba17f36dbfde1baeaa47e14d30c337add52c0d (diff) | |
download | ffmpeg-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_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 7f68a51913..d95a8ad48a 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -155,7 +155,7 @@ typedef struct ScaleContext { } ScaleContext; -AVFilter ff_vf_scale2ref; +const AVFilter ff_vf_scale2ref; static int config_props(AVFilterLink *outlink); @@ -964,7 +964,7 @@ static const AVFilterPad avfilter_vf_scale_outputs[] = { { NULL } }; -AVFilter ff_vf_scale = { +const AVFilter ff_vf_scale = { .name = "scale", .description = NULL_IF_CONFIG_SMALL("Scale the input video size and/or convert the image format."), .init_dict = init_dict, @@ -1016,7 +1016,7 @@ static const AVFilterPad avfilter_vf_scale2ref_outputs[] = { { NULL } }; -AVFilter ff_vf_scale2ref = { +const AVFilter ff_vf_scale2ref = { .name = "scale2ref", .description = NULL_IF_CONFIG_SMALL("Scale the input video size and/or convert the image format to the given reference."), .init_dict = init_dict, |