# HG changeset patch # User rtognimp # Date 1043616405 0 # Node ID ee0fdf5505c425ed0021e90596b3a41fdf6fb14d # Parent 3a17e10508187921b26402d89257a807ec64a039 32 bpp is a valid color depth. Fixes 0-bit rle reports diff -r 3a17e1050818 -r ee0fdf5505c4 libmpdemux/demux_mov.c --- a/libmpdemux/demux_mov.c Sun Jan 26 20:50:27 2003 +0000 +++ b/libmpdemux/demux_mov.c Sun Jan 26 21:26:45 2003 +0000 @@ -1107,7 +1107,7 @@ 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