aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qoienc.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-03-25 16:07:23 +0100
committerNiklas Haas <git@haasn.dev>2024-03-27 19:11:27 +0100
commitb89ee2653919c14193f646ba03b2bf1d13c9aa2d (patch)
treea05a1eee31398658b88c110911db43695cc2f3e0 /libavcodec/qoienc.c
parent189c32f53659b8f9dc402765905fc12a321ab1ac (diff)
downloadffmpeg-b89ee2653919c14193f646ba03b2bf1d13c9aa2d.tar.gz
avfilter: properly reduce YUV colorspace format lists
Doing this with REDUCE_FORMATS() instead of swap_color_*() is not only shorter, but more importantly comes with the benefit of being done inside a loop, allowing us to correctly propagate complex graphs involving multiple conversion filters (e.g. -vf scale,zscale). The latter family of swapping functions is only used to settle the best *remaining* entry if no exact match was found, and as such was never the correct solution to YUV colorspaces, which only care about exact matches.
Diffstat (limited to 'libavcodec/qoienc.c')
0 files changed, 0 insertions, 0 deletions