[Mplayer-cvslog] CVS: main fli.c,1.7,1.8
    Mike Melanson 
    melanson at mplayer.dev.hu
       
    Thu Feb 14 04:26:59 CET 2002
    
    
  
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv21478
Modified Files:
	fli.c 
Log Message:
a few quick fixes to the FLI decoder
Index: fli.c
===================================================================
RCS file: /cvsroot/mplayer/main/fli.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- fli.c	13 Feb 2002 04:47:12 -0000	1.7
+++ fli.c	14 Feb 2002 03:26:50 -0000	1.8
@@ -340,10 +340,10 @@
 
   if (update_whole_frame)
   {
-    pixel_ptr = 0;
+    pixel_ptr = ghost_pixel_ptr = 0;
     while (pixel_ptr < (width * height * bytes_per_pixel))
     {
-      palette_ptr1 = fli_ghost_image[pixel_ptr/bytes_per_pixel];
+      palette_ptr1 = fli_ghost_image[ghost_pixel_ptr++];
       decoded[pixel_ptr++] = palette[palette_ptr1 + 0];
       decoded[pixel_ptr++] = palette[palette_ptr1 + 1];
       decoded[pixel_ptr++] = palette[palette_ptr1 + 2];
    
    
More information about the MPlayer-cvslog
mailing list