diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:13:14 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:13:14 +0100 |
commit | 64176bc1a3288b2d4fccc5b57961543f0585fe36 (patch) | |
tree | 46513f7b0596e884c01404d8db68ae7f9161ee44 | |
parent | 4e8078e6a8808b03bab29c4c4410422aceb380ab (diff) | |
download | ffmpeg-64176bc1a3288b2d4fccc5b57961543f0585fe36.tar.gz |
Set KMVC palette opaque.
-rw-r--r-- | libavcodec/kmvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c index 32d9a34a2d..175b84c830 100644 --- a/libavcodec/kmvc.c +++ b/libavcodec/kmvc.c @@ -251,7 +251,7 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, AVPa if (buf[0] == 127) { buf += 3; for (i = 0; i < 127; i++) { - ctx->pal[i + (header & 0x81)] = AV_RB24(buf); + ctx->pal[i + (header & 0x81)] = 0xFF << 24 | AV_RB24(buf); buf += 4; } buf -= 127 * 4 + 3; |