diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:22:01 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:22:01 +0100 |
commit | 90f75f98041c40bdaef86d10d0ae88b2698a0bbd (patch) | |
tree | da5385c95c349fec5aa500e0eafede37135abe6a /libavcodec/vmdav.c | |
parent | e9a2ffa117f560c0899c7a3bb373e908ae03d285 (diff) | |
download | ffmpeg-90f75f98041c40bdaef86d10d0ae88b2698a0bbd.tar.gz |
Set Sierra VMD palette opaque.
Diffstat (limited to 'libavcodec/vmdav.c')
-rw-r--r-- | libavcodec/vmdav.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |