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:
parent
b3c67372a5
commit
789da2e9f1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user