From 64176bc1a3288b2d4fccc5b57961543f0585fe36 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 12 Nov 2011 20:13:14 +0100 Subject: [PATCH] Set KMVC palette opaque. --- libavcodec/kmvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c index 32d9a34a2d..175b84c830 100644 --- a/libavcodec/kmvc.c +++ b/libavcodec/kmvc.c @@ -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;