1
0
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:
Carl Eugen Hoyos 2011-11-12 20:13:14 +01:00
parent 4e8078e6a8
commit 64176bc1a3

View File

@ -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;