0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

reconciled one minor, nagging palette issue with the official QT spec

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4534 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
melanson 2002-02-05 04:08:05 +00:00
parent e9d210d59e
commit df3d063c20

View File

@ -604,7 +604,7 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
palette_map = (unsigned char *)sh->bih + 40;
// load default palette
if (flag & 0x08)
if (flag == 0xFFFF)
{
if (palette_count == 4)
memcpy(palette_map, qt_default_palette_4, 4 * 4);