diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-01 21:54:54 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-01 22:29:01 +0300 |
commit | 2b2380c098569af88e7a77aff78f330d11090512 (patch) | |
tree | 1f41c9459c6d7dc879715692ff0383e9a5e60086 /libavfilter/vf_yadif_videotoolbox.m | |
parent | 80831e742b3cf58ef3f23cc66be23df2c41c3901 (diff) |
avfilter: Constify non-const filters
This makes the filters match their declaration in
libavfilter/allfilters.c; the earlier discrepancy was btw UB.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_yadif_videotoolbox.m')
-rw-r--r-- | libavfilter/vf_yadif_videotoolbox.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_yadif_videotoolbox.m b/libavfilter/vf_yadif_videotoolbox.m index 455745817f..69186c2254 100644 --- a/libavfilter/vf_yadif_videotoolbox.m +++ b/libavfilter/vf_yadif_videotoolbox.m @@ -440,7 +440,7 @@ static const AVFilterPad yadif_videotoolbox_outputs[] = { }, }; -AVFilter ff_vf_yadif_videotoolbox = { +const AVFilter ff_vf_yadif_videotoolbox = { .name = "yadif_videotoolbox", .description = NULL_IF_CONFIG_SMALL("YADIF for VideoToolbox frames using Metal compute"), .priv_size = YADIF_VT_CTX_SIZE, |