summaryrefslogtreecommitdiff
path: root/libavformat/qtpalette.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-12-02 23:27:01 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-12-02 23:27:01 +0000
commit1fe47470d17c8b1e31e9eddb975bc61768f7dc94 (patch)
treece1b7a54505841bd79e5f07b8aea3d8ad9ef4675 /libavformat/qtpalette.h
parent77777f0dd8660871ea7576f800bee29e0f440f4c (diff)
Make ff_qt_default_palette_* arrays "static const"
Originally committed as revision 11139 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/qtpalette.h')
-rw-r--r--libavformat/qtpalette.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/qtpalette.h b/libavformat/qtpalette.h
index 088abf3e57..e1032ddd56 100644
--- a/libavformat/qtpalette.h
+++ b/libavformat/qtpalette.h
@@ -23,14 +23,14 @@
#ifndef FFMPEG_QTPALETTE_H
#define FFMPEG_QTPALETTE_H
-unsigned char ff_qt_default_palette_4[4 * 4] = {
+static const uint8_t ff_qt_default_palette_4[4 * 4] = {
0x93, 0x65, 0x5E, 0x00,
0xFF, 0xFF, 0xFF, 0x00,
0xDF, 0xD0, 0xAB, 0x00,
0x00, 0x00, 0x00, 0x00
};
-unsigned char ff_qt_default_palette_16[16 * 4] = {
+static const uint8_t ff_qt_default_palette_16[16 * 4] = {
0xFF, 0xFB, 0xFF, 0x00,
0xEF, 0xD9, 0xBB, 0x00,
0xE8, 0xC9, 0xB1, 0x00,
@@ -49,7 +49,7 @@ unsigned char ff_qt_default_palette_16[16 * 4] = {
0x00, 0x00, 0x00, 0x00
};
-unsigned char ff_qt_default_palette_256[256 * 4] = {
+static const uint8_t ff_qt_default_palette_256[256 * 4] = {
/* 0, 0x00 */ 0xFF, 0xFF, 0xFF, 0x00,
/* 1, 0x01 */ 0xFF, 0xFF, 0xCC, 0x00,
/* 2, 0x02 */ 0xFF, 0xFF, 0x99, 0x00,