mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01: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:
parent
e9d210d59e
commit
df3d063c20
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user