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

Clément Bœsch ubitux at gmail.com
Thu Apr 18 13:46:13 CEST 2013


On Thu, Apr 18, 2013 at 11:33:57AM +0000, Paul B Mahol wrote:
> 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

Pushed.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130418/926ce74e/attachment.asc>


More information about the ffmpeg-devel mailing list