aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vmdav.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 15:04:29 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 15:04:29 +0100
commit1fc573dd25fa24f9706626ec88d4594f1c0a65b6 (patch)
treeacf523189d97758bc91db21148869e36bae5083a /libavcodec/vmdav.c
parenta95906af57593dd0f4754b6e2e1d777bbb382f37 (diff)
downloadffmpeg-1fc573dd25fa24f9706626ec88d4594f1c0a65b6.tar.gz
Increase Sierra VMD palette dynamics.
Diffstat (limited to 'libavcodec/vmdav.c')
-rw-r--r--libavcodec/vmdav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c
index be256e1350..06c6255cc5 100644
--- a/libavcodec/vmdav.c
+++ b/libavcodec/vmdav.c
@@ -265,6 +265,7 @@ static void vmd_decode(VmdVideoContext *s)
g = *p++ * 4;
b = *p++ * 4;
palette32[i] = 0xFF << 24 | r << 16 | g << 8 | b;
+ palette32[i] |= palette32[i] >> 6 & 0x30303;
}
}
if (p < p_end) {