mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 04:42:10 +00:00
10l, confused current "frame" with canvas width.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22040 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
25918a8b31
commit
b9b7060e60
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user