Increase Bitmap Brothers JV palette dynamics.

Approved-by: Peter Ross
This commit is contained in:
Carl Eugen Hoyos 2011-11-12 20:56:07 +01:00
parent 9780c33eca
commit 3230c756f8
1 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,8 @@ static int decode_frame(AVCodecContext *avctx,
if (buf < buf_end) {
for (i = 0; i < AVPALETTE_COUNT && buf + 3 <= buf_end; i++) {
s->palette[i] = (0xFF << 24) | AV_RB24(buf) << 2;
uint32_t pal = AV_RB24(buf);
s->palette[i] = 0xFF << 24 | pal << 2 | pal >> 4 & 0x30303;
buf += 3;
}
s->palette_has_changed = 1;