1
0
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:
wm4 2019-11-02 01:02:54 +01:00
parent bdd1e1e7ec
commit c3cee4b9ec
2 changed files with 36 additions and 0 deletions