1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Set Westwood Studios VQA palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-11-12 20:23:34 +01:00
parent 90f75f9804
commit 1d38c746fd

View File

@ -402,7 +402,7 @@ static void vqa_decode_chunk(VqaContext *s)
r = s->buf[cpl0_chunk++] * 4;
g = 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;
}
}