1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 23:07:02 +00:00

32 bpp is a valid color depth. Fixes 0-bit rle reports

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9114 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2003-01-26 21:26:45 +00:00
parent c76e06fbc3
commit e81abce2d7

View File

@ -1107,7 +1107,7 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
if(depth>32+8) printf("*** depth = 0x%X\n",depth);
// palettized?
depth&=31; // flag 32 means grayscale
if (depth > 32) depth&=31; // depth > 32 means grayscale
if ((depth == 2) || (depth == 4) || (depth == 8))
palette_count = (1 << depth);
else