aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/kmvc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos2011-11-12 20:13:14 +0100
committerCarl Eugen Hoyos2011-11-12 20:13:14 +0100
commit64176bc1a3288b2d4fccc5b57961543f0585fe36 (patch)
tree46513f7b0596e884c01404d8db68ae7f9161ee44 /libavcodec/kmvc.c
parent4e8078e6a8808b03bab29c4c4410422aceb380ab (diff)
Set KMVC palette opaque.
Diffstat (limited to 'libavcodec/kmvc.c')
-rw-r--r--libavcodec/kmvc.c2
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;