[MPlayer-cvslog] r21911 - trunk/libmpdemux/demux_gif.c

reimar subversion at mplayerhq.hu
Sat Jan 13 13:39:13 CET 2007


Author: reimar
Date: Sat Jan 13 13:39:13 2007
New Revision: 21911

Modified:
   trunk/libmpdemux/demux_gif.c

Log:
Cosmetics


Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c	(original)
+++ trunk/libmpdemux/demux_gif.c	Sat Jan 13 13:39:13 2007
@@ -138,22 +138,22 @@
 
     // copy the palette
     for (y = 0; y < cnt; y++) {
-	priv->palette[(y * 4) + 0] = effective_map->Colors[y].Blue;
-	priv->palette[(y * 4) + 1] = effective_map->Colors[y].Green;
-	priv->palette[(y * 4) + 2] = effective_map->Colors[y].Red;
-	priv->palette[(y * 4) + 3] = 0;
+      priv->palette[(y * 4) + 0] = effective_map->Colors[y].Blue;
+      priv->palette[(y * 4) + 1] = effective_map->Colors[y].Green;
+      priv->palette[(y * 4) + 2] = effective_map->Colors[y].Red;
+      priv->palette[(y * 4) + 3] = 0;
     }
 
     memcpy_pic(dest, buf, w, h, priv->w, gif->Image.Width);
 
-  priv->useref = 1;
-  if (refmode == 1) memcpy(priv->refimg, dp->buffer, priv->w * priv->h);
+    priv->useref = 1;
+    if (refmode == 1) memcpy(priv->refimg, dp->buffer, priv->w * priv->h);
     if (refmode == 2 && priv->useref) {
       dest = priv->refimg + priv->w * t + l;
       memset(buf, gif->SBackGroundColor, len);
       memcpy_pic(dest, buf, w, h, priv->w, gif->Image.Width);
     }
-  if (!refmode) priv->useref = 0;
+    if (!refmode) priv->useref = 0;
   }
 
   free(buf);



More information about the MPlayer-cvslog mailing list