[FFmpeg-cvslog] lavf/gif: remove unused fields.
Clément Bœsch
git at videolan.org
Thu Apr 18 13:45:07 CEST 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Apr 18 12:55:04 2013 +0200| [0a0e6877ff3b8f16067d3515509745b467ddadd6] | committer: Clément Bœsch
lavf/gif: remove unused fields.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a0e6877ff3b8f16067d3515509745b467ddadd6
---
libavformat/gif.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/libavformat/gif.c b/libavformat/gif.c
index 7a68d31..a6d83ee 100644
--- a/libavformat/gif.c
+++ b/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;
More information about the ffmpeg-cvslog
mailing list