remove unused variables

Originally committed as revision 6764 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent 1e22f00d79
commit a7fb3a9600
  1. 6
      libavcodec/gifdec.c

@ -224,8 +224,8 @@ static int GLZWDecode(GifState * s, uint8_t * buf, int len)
static int gif_read_image(GifState *s) static int gif_read_image(GifState *s)
{ {
int left, top, width, height, bits_per_pixel, code_size, flags; int left, top, width, height, bits_per_pixel, code_size, flags;
int is_interleaved, has_local_palette, y, x, pass, y1, linesize, n, i; int is_interleaved, has_local_palette, y, pass, y1, linesize, n, i;
uint8_t *ptr, *line, *d, *spal, *palette, *sptr, *ptr1; uint8_t *ptr, *line, *spal, *palette, *ptr1;
left = bytestream_get_le16(&s->bytestream); left = bytestream_get_le16(&s->bytestream);
top = 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) static int gif_read_header1(GifState *s)
{ {
uint8_t sig[6]; uint8_t sig[6];
int ret, v, n; int v, n;
int has_global_palette; int has_global_palette;
/* read gif signature */ /* read gif signature */

Loading…
Cancel
Save