diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-13 12:39:13 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-13 12:39:13 +0000 |
commit | 497403d31feeb1123b30ec99733336c58b8d4445 (patch) | |
tree | 9d2f73fc6d4fff26c1bdecd2a5b5b8aa30c9d937 | |
parent | 5b7eb989f2fc85f5b1c2ee4951cbae750c1d6dd5 (diff) | |
download | mpv-497403d31feeb1123b30ec99733336c58b8d4445.tar.bz2 mpv-497403d31feeb1123b30ec99733336c58b8d4445.tar.xz |
Cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21911 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_gif.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c index 4c402b4076..6eea91fd2b 100644 --- a/libmpdemux/demux_gif.c +++ b/libmpdemux/demux_gif.c @@ -138,22 +138,22 @@ static int demux_gif_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) // copy the palette for (y = 0; y < cnt; y++) { - priv->palette[(y * 4) + 0] = effective_map->Colors[y].Blue; - priv->palette[(y * 4) + 1] = effective_map->Colors[y].Green; - priv->palette[(y * 4) + 2] = effective_map->Colors[y].Red; - priv->palette[(y * 4) + 3] = 0; + priv->palette[(y * 4) + 0] = effective_map->Colors[y].Blue; + priv->palette[(y * 4) + 1] = effective_map->Colors[y].Green; + priv->palette[(y * 4) + 2] = effective_map->Colors[y].Red; + priv->palette[(y * 4) + 3] = 0; } memcpy_pic(dest, buf, w, h, priv->w, gif->Image.Width); - priv->useref = 1; - if (refmode == 1) memcpy(priv->refimg, dp->buffer, priv->w * priv->h); + priv->useref = 1; + 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); memcpy_pic(dest, buf, w, h, priv->w, gif->Image.Width); } - if (!refmode) priv->useref = 0; + if (!refmode) priv->useref = 0; } free(buf); |