mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-04-03 16:01:47 +00:00
Set BFI palette opaque.
This commit is contained in:
parent
f98722443f
commit
3fd9f08971
@ -80,7 +80,7 @@ static int bfi_decode_frame(AVCodecContext * avctx, void *data,
|
|||||||
pal = (uint32_t *) bfi->frame.data[1];
|
pal = (uint32_t *) bfi->frame.data[1];
|
||||||
for (i = 0; i < avctx->extradata_size / 3; i++) {
|
for (i = 0; i < avctx->extradata_size / 3; i++) {
|
||||||
int shift = 16;
|
int shift = 16;
|
||||||
*pal = 0;
|
*pal = 0xFF << 24;
|
||||||
for (j = 0; j < 3; j++, shift -= 8)
|
for (j = 0; j < 3; j++, shift -= 8)
|
||||||
*pal +=
|
*pal +=
|
||||||
((avctx->extradata[i * 3 + j] << 2) |
|
((avctx->extradata[i * 3 + j] << 2) |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user