1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

Increase Pictor/PC Paint palette dynamics.

This commit is contained in:
Carl Eugen Hoyos
2011-11-13 14:52:21 +01:00
parent 105cf82acb
commit a95906af57
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ static int decode_frame(AVCodecContext *avctx,
npal = FFMIN(esize / 3, 256); npal = FFMIN(esize / 3, 256);
for (i = 0; i < npal; i++) { for (i = 0; i < npal; i++) {
palette[i] = AV_RB24(buf + i*3) << 2; palette[i] = AV_RB24(buf + i*3) << 2;
palette[i] |= 0xFF << 24; palette[i] |= 0xFF << 24 | palette[i] >> 6 & 0x30303;
} }
} else { } else {
if (bpp == 1) { if (bpp == 1) {

View File

@@ -1 +1 @@
0, 0, 192816, 0xf97e2ba1 0, 0, 192816, 0x29b9c158