mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-10 03:00:42 +08:00
Mark some arrays that never change as const.
This commit is contained in:
@@ -152,7 +152,7 @@ typedef struct ColorEntry {
|
||||
uint8_t rgb_color[3]; ///< RGB values for the color
|
||||
} ColorEntry;
|
||||
|
||||
static ColorEntry color_table[] = {
|
||||
static const ColorEntry color_table[] = {
|
||||
{ "AliceBlue", { 0xF0, 0xF8, 0xFF } },
|
||||
{ "AntiqueWhite", { 0xFA, 0xEB, 0xD7 } },
|
||||
{ "Aqua", { 0x00, 0xFF, 0xFF } },
|
||||
|
Reference in New Issue
Block a user