aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-22 15:15:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-22 15:15:15 +0000
commita7fb3a96009c477a643de3eca82791870294e748 (patch)
treed4e054181ff1d4af2a0df459807e58e558ebcd7c /libavcodec
parent1e22f00d79773aecfc52c53e2a6efcf63cf2e15a (diff)
downloadffmpeg-a7fb3a96009c477a643de3eca82791870294e748.tar.gz
remove unused variables
Originally committed as revision 6764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/gifdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index d3ac6e08a0..8aabe546cb 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -224,8 +224,8 @@ static int GLZWDecode(GifState * s, uint8_t * buf, int len)
static int gif_read_image(GifState *s)
{
int left, top, width, height, bits_per_pixel, code_size, flags;
- int is_interleaved, has_local_palette, y, x, pass, y1, linesize, n, i;
- uint8_t *ptr, *line, *d, *spal, *palette, *sptr, *ptr1;
+ int is_interleaved, has_local_palette, y, pass, y1, linesize, n, i;
+ uint8_t *ptr, *line, *spal, *palette, *ptr1;
left = bytestream_get_le16(&s->bytestream);
top = bytestream_get_le16(&s->bytestream);
@@ -369,7 +369,7 @@ static int gif_read_extension(GifState *s)
static int gif_read_header1(GifState *s)
{
uint8_t sig[6];
- int ret, v, n;
+ int v, n;
int has_global_palette;
/* read gif signature */