From 90f75f98041c40bdaef86d10d0ae88b2698a0bbd Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 12 Nov 2011 20:22:01 +0100 Subject: [PATCH] Set Sierra VMD palette opaque. --- libavcodec/vmdav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index 718a9b9e75..be256e1350 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -264,7 +264,7 @@ static void vmd_decode(VmdVideoContext *s) r = *p++ * 4; g = *p++ * 4; b = *p++ * 4; - palette32[i] = (r << 16) | (g << 8) | (b); + palette32[i] = 0xFF << 24 | r << 16 | g << 8 | b; } } if (p < p_end) {