1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Make the palette in Wing Commander III mve files opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-12-24 12:41:44 +01:00
parent 0d59ae32c2
commit f2ed115899

View File

@ -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;