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
1 changed files with 1 additions and 1 deletions

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