mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 18:12:22 +00:00
img_format: add function to find image format by layout
This is similar to mp_imgfmt_find(), but probably a bit saner. Used by the next commit. The previous commit is required to map this unambiguously between all formats.
This commit is contained in:
parent
bdd1e1e7ec
commit
c3cee4b9ec