lavf/gif: remove unused fields.

pull/15/head
Clément Bœsch 12 years ago
parent 28f9858c91
commit 0a0e6877ff
  1. 5
      libavformat/gif.c

@ -95,8 +95,6 @@ static int gif_image_write_header(AVIOContext *pb, int width, int height,
typedef struct {
AVClass *class; /** Class for private options. */
int64_t time, file_time;
uint8_t buffer[100]; /* data chunks */
int loop;
} GIFContext;
@ -115,9 +113,6 @@ static int gif_write_header(AVFormatContext *s)
return AVERROR(EINVAL);
}
gif->time = 0;
gif->file_time = 0;
video_enc = s->streams[0]->codec;
width = video_enc->width;
height = video_enc->height;

Loading…
Cancel
Save