aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/parseutils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-07-03 10:09:36 +0200
committerAnton Khirnov <anton@khirnov.net>2017-02-01 10:42:59 +0100
commitfd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (patch)
treee9e285e1f4634de77b1657420b5121d109bed249 /libavutil/parseutils.c
parentb420a27e74750b60d2e064236afb10be06a38ace (diff)
downloadffmpeg-fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3.tar.gz
Mark some arrays that never change as const.
Diffstat (limited to 'libavutil/parseutils.c')
-rw-r--r--libavutil/parseutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index f4248114b5..d9d5839f67 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -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 } },