aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/parseutils.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:10:23 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:37:01 +0100
commitbd09fecce220201af634922df588752c47493230 (patch)
tree09d1f318d86cf72255943ca8c866296c75a4401b /libavutil/parseutils.c
parentd78473334e9fdf991e354c11e3f7649449ea8791 (diff)
downloadffmpeg-bd09fecce220201af634922df588752c47493230.tar.gz
color_table array should be const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
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 0c787d6fae..bf79921b7b 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -148,7 +148,7 @@ typedef struct {
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 } },