[FFmpeg-devel] [PATCH 2/3] lavf/gif: remove unused fields.

Paul B Mahol onemda at gmail.com
Thu Apr 18 13:33:57 CEST 2013


On 4/18/13, Clement Boesch <ubitux at gmail.com> wrote:
> ---
>  libavformat/gif.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/libavformat/gif.c b/libavformat/gif.c
> index 10531f9..282fb55 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;
> --
> 1.8.2.1

OK


More information about the ffmpeg-devel mailing list