From e81abce2d7e6fdb56739eae39fd362f4b5eb9645 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Sun, 26 Jan 2003 21:26:45 +0000 Subject: [PATCH] 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 --- libmpdemux/demux_mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c index 1f2af95c66..88dc3cbaa0 100644 --- a/libmpdemux/demux_mov.c +++ b/libmpdemux/demux_mov.c @@ -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