summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-28 11:02:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-28 11:02:52 +0000
commitb9b7060e609981ff2538d937aa2dcaf6b3818336 (patch)
tree06db07fad8daf5370bf43b9ca654221c6ff2c2ec /libmpdemux
parent25918a8b310465bc0d8f42b9db0d6822cfff5947 (diff)
downloadmpv-b9b7060e609981ff2538d937aa2dcaf6b3818336.tar.bz2
mpv-b9b7060e609981ff2538d937aa2dcaf6b3818336.tar.xz
10l, confused current "frame" with canvas width.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22040 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_gif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c
index ba8c6746d0..4daaf5efd5 100644
--- a/libmpdemux/demux_gif.c
+++ b/libmpdemux/demux_gif.c
@@ -180,15 +180,15 @@ static int demux_gif_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds)
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