lavf/gif: remove unused fields.

This commit is contained in:
Clément Bœsch 2013-04-18 12:55:04 +02:00
parent 28f9858c91
commit 0a0e6877ff

View File

@ -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;