mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
Set KMVC palette opaque.
This commit is contained in:
parent
4e8078e6a8
commit
64176bc1a3
@ -251,7 +251,7 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, AVPa
|
||||
if (buf[0] == 127) {
|
||||
buf += 3;
|
||||
for (i = 0; i < 127; i++) {
|
||||
ctx->pal[i + (header & 0x81)] = AV_RB24(buf);
|
||||
ctx->pal[i + (header & 0x81)] = 0xFF << 24 | AV_RB24(buf);
|
||||
buf += 4;
|
||||
}
|
||||
buf -= 127 * 4 + 3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user