avutil/pixdesc: add AV_PIX_FMT_FLAG_XYZ

There are already several places in the codebase that match desc->name
against "xyz", and many downstream clients replicate this behavior.
I have no idea why this is not just a flag.

Motivated by my desire to add yet another check for XYZ to the codebase,
and I'd rather not keep copy/pasting a string comparison hack.
This commit is contained in:
Niklas Haas
2023-10-31 15:46:07 +01:00
parent 96dfc4481b
commit 57c16323f2
4 changed files with 12 additions and 4 deletions

View File

@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09
API changes, most recent first:
2023-10-31 - xxxxxxxxxx - lavu 58.31.100 - pixdesc.h
Add AV_PIX_FMT_FLAG_XYZ.
-------- 8< --------- FFmpeg 6.1 was cut here -------- 8< ---------
2023-10-27 - xxxxxxxxxx - lavu 58.28.100 - channel_layout.h