You've already forked FFmpeg
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:
@@ -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) {
|
||||||
|
@@ -1 +1 @@
|
|||||||
0, 0, 192816, 0xf97e2ba1
|
0, 0, 192816, 0x29b9c158
|
||||||
|
Reference in New Issue
Block a user