diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 19:36:23 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 19:36:23 +0100 |
commit | 3fd9f089718a5c94bdde7d74f697e4bd7c2894e7 (patch) | |
tree | 91ce9697b0278b97ef961ce66d4b4d49554c53bf /libavcodec/bfi.c | |
parent | f98722443f3171327fcc10b523112cec1db1b1cb (diff) | |
download | ffmpeg-3fd9f089718a5c94bdde7d74f697e4bd7c2894e7.tar.gz |
Set BFI palette opaque.
Diffstat (limited to 'libavcodec/bfi.c')
-rw-r--r-- | libavcodec/bfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c index 8f4770e78f..25863cb7d5 100644 --- a/libavcodec/bfi.c +++ b/libavcodec/bfi.c @@ -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) | |