Commit cb7b1eef authored by Francois Cartegnie's avatar Francois Cartegnie

vlc_es: add #define for palette size

parent 6c0587c2
......@@ -37,10 +37,12 @@
* \see video_format_t
* \see subs_format_t
*/
#define VIDEO_PALETTE_COLORS_MAX 256
struct video_palette_t
{
int i_entries; /**< to keep the compatibility with libavcodec's palette */
uint8_t palette[256][4]; /**< 4-byte RGBA/YUVA palette */
uint8_t palette[VIDEO_PALETTE_COLORS_MAX][4]; /**< 4-byte RGBA/YUVA palette */
};
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment