diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-13 15:12:43 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-13 15:12:43 +0100 |
commit | eb664d4ae3089560bf756d23962ec6f4a7b5092a (patch) | |
tree | 707822394525cf34450cdf1bf9c3dda2eb25d52a /libavcodec | |
parent | 1fc573dd25fa24f9706626ec88d4594f1c0a65b6 (diff) | |
download | ffmpeg-eb664d4ae3089560bf756d23962ec6f4a7b5092a.tar.gz |
Increase Westwood Studios VQA palette dynamics.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vqavideo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 5db8a22b09..917e04be47 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -403,6 +403,7 @@ static void vqa_decode_chunk(VqaContext *s) g = s->buf[cpl0_chunk++] * 4; b = s->buf[cpl0_chunk++] * 4; s->palette[i] = 0xFF << 24 | r << 16 | g << 8 | b; + s->palette[i] |= s->palette[i] >> 6 & 0x30303; } } |