Commit 3fd9f089 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Set BFI palette opaque.

parent f9872244
......@@ -80,7 +80,7 @@ static int bfi_decode_frame(AVCodecContext * avctx, void *data,
pal = (uint32_t *) bfi->frame.data[1];
for (i = 0; i < avctx->extradata_size / 3; i++) {
int shift = 16;
*pal = 0;
*pal = 0xFF << 24;
for (j = 0; j < 3; j++, shift -= 8)
*pal +=
((avctx->extradata[i * 3 + j] << 2) |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment