Browse Source

Make the palette in Wing Commander III mve files opaque.

tags/n0.10
Carl Eugen Hoyos 14 years ago
parent
commit
f2ed115899
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/xan.c

+ 1
- 1
libavcodec/xan.c View File

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


Loading…
Cancel
Save