[Mplayer-cvslog] CVS: main msvidc.c,1.2,1.3

Mike Melanson melanson at mplayer.dev.hu
Sun Nov 25 00:28:24 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv11261

Modified Files:
	msvidc.c 
Log Message:
fixed 8-bit variant


Index: msvidc.c
===================================================================
RCS file: /cvsroot/mplayer/main/msvidc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- msvidc.c	17 Nov 2001 19:55:25 -0000	1.2
+++ msvidc.c	24 Nov 2001 23:28:22 -0000	1.3
@@ -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++];




More information about the MPlayer-cvslog mailing list