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

reimar subversion at mplayerhq.hu
Sun Jan 28 12:02:52 CET 2007


Author: reimar
Date: Sun Jan 28 12:02:52 2007
New Revision: 22040

Modified:
   trunk/libmpdemux/demux_gif.c

Log:
10l, confused current "frame" with canvas width.


Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c	(original)
+++ trunk/libmpdemux/demux_gif.c	Sun Jan 28 12:02:52 2007
@@ -180,15 +180,15 @@
                         priv->w << 3, gif->Image.Width,
                         transparency, transparent_col);
       s += (h >> 3) * w;
-      memcpy_transp_pic(dest + (gif->Image.Width << 2), s, w, h >> 3,
+      memcpy_transp_pic(dest + (priv->w << 2), s, w, h >> 3,
                         priv->w << 3, gif->Image.Width,
                         transparency, transparent_col);
       s += (h >> 3) * w;
-      memcpy_transp_pic(dest + (gif->Image.Width << 1), s, w, h >> 2,
+      memcpy_transp_pic(dest + (priv->w << 1), s, w, h >> 2,
                         priv->w << 2, gif->Image.Width,
                         transparency, transparent_col);
       s += (h >> 2) * w;
-      memcpy_transp_pic(dest + gif->Image.Width, s, w, h >> 1,
+      memcpy_transp_pic(dest + priv->w, s, w, h >> 1,
                         priv->w << 1, gif->Image.Width,
                         transparency, transparent_col);
     } else



More information about the MPlayer-cvslog mailing list