提交 f2ed1158 编写于 作者: C Carl Eugen Hoyos

Make the palette in Wing Commander III mve files opaque.

上级 0d59ae32
...@@ -535,7 +535,7 @@ static int xan_decode_frame(AVCodecContext *avctx, ...@@ -535,7 +535,7 @@ static int xan_decode_frame(AVCodecContext *avctx,
int g = gamma_lookup[*buf++]; int g = gamma_lookup[*buf++];
int b = gamma_lookup[*buf++]; int b = gamma_lookup[*buf++];
#endif #endif
*tmpptr++ = (r << 16) | (g << 8) | b; *tmpptr++ = (0xFFU << 24) | (r << 16) | (g << 8) | b;
} }
s->palettes_count++; s->palettes_count++;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册