diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-24 12:41:44 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-24 12:41:44 +0100 |
commit | f2ed1158998019c38ef5a598b5a5c50aea60e072 (patch) | |
tree | 29392f51774545602ea954fe2e0e92ae552339e3 /libavcodec/xan.c | |
parent | 0d59ae32c231b88c54c086a187fb60e5e0fb5102 (diff) | |
download | ffmpeg-f2ed1158998019c38ef5a598b5a5c50aea60e072.tar.gz |
Make the palette in Wing Commander III mve files opaque.
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r-- | libavcodec/xan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c index 8518250141..cfaca81e16 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -535,7 +535,7 @@ static int xan_decode_frame(AVCodecContext *avctx, int g = gamma_lookup[*buf++]; int b = gamma_lookup[*buf++]; #endif - *tmpptr++ = (r << 16) | (g << 8) | b; + *tmpptr++ = (0xFFU << 24) | (r << 16) | (g << 8) | b; } s->palettes_count++; break; |