Commit a95906af authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Increase Pictor/PC Paint palette dynamics.

parent 105cf82a
......@@ -177,7 +177,7 @@ static int decode_frame(AVCodecContext *avctx,
npal = FFMIN(esize / 3, 256);
for (i = 0; i < npal; i++) {
palette[i] = AV_RB24(buf + i*3) << 2;
palette[i] |= 0xFF << 24;
palette[i] |= 0xFF << 24 | palette[i] >> 6 & 0x30303;
}
} else {
if (bpp == 1) {
......
0, 0, 192816, 0xf97e2ba1
0, 0, 192816, 0x29b9c158
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment