Browse Source

Set Westwood Studios VQA palette opaque.

tags/n0.9
Carl Eugen Hoyos 13 years ago
parent
commit
1d38c746fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vqavideo.c

+ 1
- 1
libavcodec/vqavideo.c View File

@@ -402,7 +402,7 @@ static void vqa_decode_chunk(VqaContext *s)
r = s->buf[cpl0_chunk++] * 4; r = s->buf[cpl0_chunk++] * 4;
g = s->buf[cpl0_chunk++] * 4; g = s->buf[cpl0_chunk++] * 4;
b = s->buf[cpl0_chunk++] * 4; b = s->buf[cpl0_chunk++] * 4;
s->palette[i] = (r << 16) | (g << 8) | (b);
s->palette[i] = 0xFF << 24 | r << 16 | g << 8 | b;
} }
} }




Loading…
Cancel
Save