From dcbd18c61540329c51a015bb662aab891ddae61f Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 12 Nov 2011 20:06:35 +0100 Subject: [PATCH] Set 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 53d4f90d2e..80c9677de3 100644 --- a/libavcodec/dsicinav.c +++ b/libavcodec/dsicinav.c @@ -223,7 +223,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx, if (palette_colors_count > 256) return AVERROR_INVALIDDATA; for (i = 0; i < palette_colors_count; ++i) { - cin->palette[i] = bytestream_get_le24(&buf); + cin->palette[i] = 0xFF << 24 | bytestream_get_le24(&buf); bitmap_frame_size -= 3; } } else {