mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 21:30:55 +00:00
lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macros
They are still being used and shouldn't be removed.
This commit is contained in:
parent
4d77d57d20
commit
63e4c8a653
@ -3082,6 +3082,8 @@ typedef struct AVPicture {
|
||||
int linesize[4]; ///< number of bytes per line
|
||||
} AVPicture;
|
||||
|
||||
#define AVPALETTE_SIZE 1024
|
||||
#define AVPALETTE_COUNT 256
|
||||
#if FF_API_PALETTE_CONTROL
|
||||
/**
|
||||
* AVPaletteControl
|
||||
@ -3091,8 +3093,6 @@ typedef struct AVPicture {
|
||||
* @deprecated Use AVPacket to send palette changes instead.
|
||||
* This is totally broken.
|
||||
*/
|
||||
#define AVPALETTE_SIZE 1024
|
||||
#define AVPALETTE_COUNT 256
|
||||
typedef struct AVPaletteControl {
|
||||
|
||||
/* Demuxer sets this to 1 to indicate the palette has changed;
|
||||
|
Loading…
Reference in New Issue
Block a user