mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
lavf/gif: remove unused fields.
This commit is contained in:
parent
28f9858c91
commit
0a0e6877ff
@ -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…
Reference in New Issue
Block a user