diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-13 16:04:58 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-13 16:04:58 +0000 |
commit | 22f97dcd49c7ca1e8cdc8b3052929edd442c727b (patch) | |
tree | 6834ff2675dcfc343a814722ff037a1ee44806b1 | |
parent | 35ef1673218306c7b4f7e89de8759345d18807ee (diff) | |
download | mpv-22f97dcd49c7ca1e8cdc8b3052929edd442c727b.tar.bz2 mpv-22f97dcd49c7ca1e8cdc8b3052929edd442c727b.tar.xz |
Mark qt default palette tables as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25736 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/qtpalette.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpdemux/qtpalette.h b/libmpdemux/qtpalette.h index 7635ccca17..1e0a63fa46 100644 --- a/libmpdemux/qtpalette.h +++ b/libmpdemux/qtpalette.h @@ -5,14 +5,14 @@ #ifndef QTPALETTE_H #define QTPALETTE_H -static unsigned char qt_default_palette_4[4 * 4] = { +static const unsigned char qt_default_palette_4[4 * 4] = { 0x5E, 0x65, 0x93, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xAB, 0xD0, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00 }; -static unsigned char qt_default_palette_16[16 * 4] = { +static const unsigned char qt_default_palette_16[16 * 4] = { 0xFF, 0xFB, 0xFF, 0x00, 0xBB, 0xD9, 0xEF, 0x00, 0xB1, 0xC9, 0xE8, 0x00, @@ -31,7 +31,7 @@ static unsigned char qt_default_palette_16[16 * 4] = { 0x00, 0x00, 0x00, 0x00 }; -static unsigned char qt_default_palette_256[256 * 4] = { +static const unsigned char qt_default_palette_256[256 * 4] = { /* 0, 0x00 */ 0xFF, 0xFF, 0xFF, 0x00, /* 1, 0x01 */ 0xCC, 0xFF, 0xFF, 0x00, /* 2, 0x02 */ 0x99, 0xFF, 0xFF, 0x00, @@ -290,7 +290,7 @@ static unsigned char qt_default_palette_256[256 * 4] = { /* 255, 0xFF */ 0x00, 0x00, 0x00, 0x00 }; -static unsigned char qt_default_grayscale_palette_16[16 * 4] = { +static const unsigned char qt_default_grayscale_palette_16[16 * 4] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xEE, 0xEE, 0xEE, 0xEE, 0xDD, 0xDD, 0xDD, 0xDD, @@ -309,7 +309,7 @@ static unsigned char qt_default_grayscale_palette_16[16 * 4] = { 0x00, 0x00, 0x00, 0x00 }; -static unsigned char qt_default_grayscale_palette_256[256 * 4] = { +static const unsigned char qt_default_grayscale_palette_256[256 * 4] = { /* 0, 0x00 */ 0xFF, 0xFF, 0xFF, 0xFF, /* 1, 0x01 */ 0xFE, 0xFE, 0xFE, 0xFE, /* 2, 0x02 */ 0xFD, 0xFD, 0xFD, 0xFD, |