aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_vignette.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-10-21 16:51:51 +0200
committerNiklas Haas <git@haasn.dev>2023-12-31 13:36:22 -0800
commit2a942b4b3a0719edb67faca6b5325591568f9409 (patch)
tree1f7623b56ef48889f145802579387694e50c85f0 /libavfilter/vf_vignette.c
parent475a99628d98cc690e6a578fb835022d8faa48fb (diff)
downloadffmpeg-2a942b4b3a0719edb67faca6b5325591568f9409.tar.gz
avfilter/vf_format: re-use AVFilterFormats for pix_fmt parsing
Rewrite the format parsing code to make it more easily generalizable. In particular, `invert_formats` does not depend on the type of format list passed to it, which allows me to re-use this helper in an upcoming commit. Slightly shortens the code, at the sole cost of doing several malloc (ff_add_format) instead of a single malloc.
Diffstat (limited to 'libavfilter/vf_vignette.c')
0 files changed, 0 insertions, 0 deletions