Mercurial > mplayer.hg
diff libmpdemux/demux_gif.c @ 22022:35098f42db9a
10l, confused current "frame" with canvas width.
author | reimar |
---|---|
date | Sun, 28 Jan 2007 11:02:52 +0000 |
parents | a40f222a31df |
children | 4139d35bf255 |
line wrap: on
line diff
--- a/libmpdemux/demux_gif.c Sun Jan 28 10:45:34 2007 +0000 +++ b/libmpdemux/demux_gif.c Sun Jan 28 11:02:52 2007 +0000 @@ -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