1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

Set Delphine Software International CIN palette opaque.

This commit is contained in:
Carl Eugen Hoyos
2011-11-12 20:06:35 +01:00
parent e18f70c2d1
commit dcbd18c615

View File

@@ -223,7 +223,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx,
if (palette_colors_count > 256) if (palette_colors_count > 256)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
for (i = 0; i < palette_colors_count; ++i) { 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; bitmap_frame_size -= 3;
} }
} else { } else {