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

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


Author: reimar
Date: Sat Jan 13 13:56:42 2007
New Revision: 21914

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:56:42 2007
@@ -81,8 +81,8 @@
         if (p[0] == 4) // is the length correct?
         {
           transparency = p[1] & 1;
-          frametime = (p[3] << 8) | p[2]; // set the time, centiseconds
           refmode = (p[1] >> 2) & 3;
+          frametime = (p[3] << 8) | p[2]; // set the time, centiseconds
           transparent_col = p[4];  
         }
         priv->current_pts += frametime;
@@ -162,7 +162,7 @@
         spos += gif->Image.Width - w;
       }
     } else
-    memcpy_pic(dest, buf, w, h, priv->w, gif->Image.Width);
+      memcpy_pic(dest, buf, w, h, priv->w, gif->Image.Width);
 
     if (refmode == 1) memcpy(priv->refimg, dp->buffer, priv->w * priv->h);
     if (refmode == 2 && priv->useref) {



More information about the MPlayer-cvslog mailing list