diff options
author | wm4 <wm4@nowhere> | 2012-11-09 01:31:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-11 17:56:42 +0100 |
commit | eb6688724ceb0e222ccc9f1de6640bfabdd67a43 (patch) | |
tree | 99dcbb85b09157415d0aa0fc9d2deb5c6bd90b36 /libmpdemux/demux_gif.c | |
parent | 34649dbd1da2ce07a6e952bec10f52dfae5a257d (diff) | |
download | mpv-eb6688724ceb0e222ccc9f1de6640bfabdd67a43.tar.bz2 mpv-eb6688724ceb0e222ccc9f1de6640bfabdd67a43.tar.xz |
Replace fast_memcpy() uses
fast_memcpy, defined in fastmemcpy.h, used to be mplayer's "optimized"
memcpy. It has been removed from this fork, and fast_memcpy has been
reduced to an alias for memcpy. Replace all remaining uses of the
fast_memcpy macro alias.
Diffstat (limited to 'libmpdemux/demux_gif.c')
-rw-r--r-- | libmpdemux/demux_gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c index d46e35a564..18bf9abfd7 100644 --- a/libmpdemux/demux_gif.c +++ b/libmpdemux/demux_gif.c @@ -173,7 +173,7 @@ static int demux_gif_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) dp->avpacket = avpacket; if (priv->useref) - fast_memcpy(dp->buffer, priv->refimg, priv->w * priv->h); + memcpy(dp->buffer, priv->refimg, priv->w * priv->h); else memset(dp->buffer, gif->SBackGroundColor, priv->w * priv->h); @@ -222,7 +222,7 @@ static int demux_gif_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) memcpy_transp_pic(dest, buf, w, h, priv->w, gif->Image.Width, transparency, transparent_col); - if (refmode == 1) fast_memcpy(priv->refimg, dp->buffer, priv->w * priv->h); + if (refmode == 1) memcpy(priv->refimg, dp->buffer, priv->w * priv->h); if (refmode == 2 && priv->useref) { dest = priv->refimg + priv->w * t + l; memset(buf, gif->SBackGroundColor, len); |