From 789da2e9f16d4eeb4d737fdb7beebe9e11f9c695 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 13 Nov 2011 02:47:47 +0100 Subject: [PATCH] Set second Delphine Software International CIN palette opaque. --- libavcodec/dsicinav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c index 80c9677de3..3cf32ca32b 100644 --- a/libavcodec/dsicinav.c +++ b/libavcodec/dsicinav.c @@ -228,7 +228,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx, } } else { for (i = 0; i < palette_colors_count; ++i) { - cin->palette[buf[0]] = AV_RL24(buf+1); + cin->palette[buf[0]] = 0xFF << 24 | AV_RL24(buf+1); buf += 4; bitmap_frame_size -= 4; }