Browse Source

avutil/pixdesc: add missing FF_API_PSEUDOPAL check

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.4
James Almer 4 years ago
parent
commit
979cc0c7cb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavutil/pixdesc.h

+ 2
- 0
libavutil/pixdesc.h View File

@@ -147,6 +147,7 @@ typedef struct AVPixFmtDescriptor {
*/ */
#define AV_PIX_FMT_FLAG_RGB (1 << 5) #define AV_PIX_FMT_FLAG_RGB (1 << 5)


#if FF_API_PSEUDOPAL
/** /**
* The pixel format is "pseudo-paletted". This means that it contains a * The pixel format is "pseudo-paletted". This means that it contains a
* fixed palette in the 2nd plane but the palette is fixed/constant for each * fixed palette in the 2nd plane but the palette is fixed/constant for each
@@ -164,6 +165,7 @@ typedef struct AVPixFmtDescriptor {
* before the deprecation, though). * before the deprecation, though).
*/ */
#define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6) #define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6)
#endif


/** /**
* The pixel format has an alpha channel. This is set on all formats that * The pixel format has an alpha channel. This is set on all formats that


Loading…
Cancel
Save