mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
Increase Pictor/PC Paint palette dynamics.
This commit is contained in:
parent
105cf82acb
commit
a95906af57
@ -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) {
|
||||
|
@ -1 +1 @@
|
||||
0, 0, 192816, 0xf97e2ba1
|
||||
0, 0, 192816, 0x29b9c158
|
||||
|
Loading…
Reference in New Issue
Block a user