Skip to content
Snippets Groups Projects
Commit dcbd18c6 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

Set Delphine Software International CIN palette opaque.

parent e18f70c2
Branches
Tags
No related merge requests found
...@@ -223,7 +223,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx, ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment