diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:23:34 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:23:34 +0100 |
commit | 1d38c746fdcc9f604644a18fa776a63de1a9c27e (patch) | |
tree | fb994c75ece300aeb54cbbeff6cdaf122fbdb6c8 /libavcodec/vqavideo.c | |
parent | 90f75f98041c40bdaef86d10d0ae88b2698a0bbd (diff) | |
download | ffmpeg-1d38c746fdcc9f604644a18fa776a63de1a9c27e.tar.gz |
Set Westwood Studios VQA palette opaque.
Diffstat (limited to 'libavcodec/vqavideo.c')
-rw-r--r-- | libavcodec/vqavideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 8b57d79dbc..5db8a22b09 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -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; } } |