1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

prefix global

Originally committed as revision 2994 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-04-10 19:42:18 +00:00
parent 44f110f509
commit a90466f741
2 changed files with 6 additions and 6 deletions

View File

@ -903,11 +903,11 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
/* if flag bit 3 is set, use the default palette */
color_count = 1 << color_depth;
if (color_depth == 2)
color_table = qt_default_palette_4;
color_table = ff_qt_default_palette_4;
else if (color_depth == 4)
color_table = qt_default_palette_16;
color_table = ff_qt_default_palette_16;
else
color_table = qt_default_palette_256;
color_table = ff_qt_default_palette_256;
for (j = 0; j < color_count; j++) {
r = color_table[j * 4 + 0];

View File

@ -7,14 +7,14 @@
#ifndef QTPALETTE_H
#define QTPALETTE_H
unsigned char qt_default_palette_4[4 * 4] = {
unsigned char 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 qt_default_palette_16[16 * 4] = {
unsigned char ff_qt_default_palette_16[16 * 4] = {
0xFF, 0xFB, 0xFF, 0x00,
0xEF, 0xD9, 0xBB, 0x00,
0xE8, 0xC9, 0xB1, 0x00,
@ -33,7 +33,7 @@ unsigned char qt_default_palette_16[16 * 4] = {
0x00, 0x00, 0x00, 0x00
};
unsigned char qt_default_palette_256[256 * 4] = {
unsigned char 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,