1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

Set Interplay C93 palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-11-12 20:01:05 +01:00
parent d6e14e24b0
commit 5be097c703

View File

@ -152,7 +152,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
uint32_t *palette = (uint32_t *) newpic->data[1];
const uint8_t *palbuf = buf + buf_size - 768 - 1;
for (i = 0; i < 256; i++) {
palette[i] = bytestream_get_be24(&palbuf);
palette[i] = 0xFF << 24 | bytestream_get_be24(&palbuf);
}
} else {
if (oldpic->data[1])