Increase Sierra VMD palette dynamics.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 13 Nov 2011 14:04:29 +0000 (15:04 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 13 Nov 2011 14:04:29 +0000 (15:04 +0100)
libavcodec/vmdav.c

index be256e1..06c6255 100644 (file)
@@ -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) {