1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Set second Delphine Software International CIN palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-11-13 02:47:47 +01:00
parent b3c67372a5
commit 789da2e9f1

View File

@ -228,7 +228,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx,
} }
} else { } else {
for (i = 0; i < palette_colors_count; ++i) { 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; buf += 4;
bitmap_frame_size -= 4; bitmap_frame_size -= 4;
} }