changeset 3100:d930dbae8473

fixed 8-bit variant
author melanson
date Sat, 24 Nov 2001 23:28:22 +0000
parents 897d46457708
children 637e540831b9
files msvidc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msvidc.c	Sat Nov 24 22:16:29 2001 +0000
+++ b/msvidc.c	Sat Nov 24 23:28:22 2001 +0000
@@ -293,7 +293,8 @@
       // check if it's an 8-color block
       else if (byte_b >= 0x90)
       {
-        // 8-color encoding
+        flags = (byte_b << 8) | byte_a;
+
         quad[0][0].c1 = (unsigned char)encoded[stream_ptr++];
         quad[0][0].c2 = (unsigned char)encoded[stream_ptr++];
         quad[1][0].c1 = (unsigned char)encoded[stream_ptr++];