diff options
author | James Almer <jamrial@gmail.com> | 2020-10-02 00:18:13 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-10-02 00:18:13 -0300 |
commit | 979cc0c7cbe29fe8821803fc4da0f9a1233a56e1 (patch) | |
tree | eb8532b6b5ad15cf650a88e0723d182deb098327 | |
parent | a7489c0fbdc7477941655b6c9fd855521f099738 (diff) | |
download | ffmpeg-979cc0c7cbe29fe8821803fc4da0f9a1233a56e1.tar.gz |
avutil/pixdesc: add missing FF_API_PSEUDOPAL check
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavutil/pixdesc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index c055810ae8..9b9d386ae9 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -147,6 +147,7 @@ typedef struct AVPixFmtDescriptor { */ #define AV_PIX_FMT_FLAG_RGB (1 << 5) +#if FF_API_PSEUDOPAL /** * 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 @@ -164,6 +165,7 @@ typedef struct AVPixFmtDescriptor { * before the deprecation, though). */ #define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6) +#endif /** * The pixel format has an alpha channel. This is set on all formats that |