mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 10:22:10 +00:00
Set Discworld II BMV palette opaque.
This commit is contained in:
parent
3fd9f08971
commit
d6e14e24b0
@ -219,7 +219,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
for (i = 0; i < 256; i++)
|
||||
c->pal[i] = bytestream_get_be24(&c->stream);
|
||||
c->pal[i] = 0xFF << 24 | bytestream_get_be24(&c->stream);
|
||||
}
|
||||
if (type & BMV_SCROLL) {
|
||||
if (c->stream - pkt->data > pkt->size - 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user