[FFmpeg-devel] [PATCH v2 2/7] Prepare gif decoder for use in conjunction with gif demuxer.

Vitaliy Sugrobov vsugrob at hotmail.com
Fri Nov 30 16:06:16 CET 2012


В Птн, 30/11/2012 в 13:33 +0000, Paul B Mahol пишет:
> On 11/30/12, Paul B Mahol <onemda at gmail.com> wrote:
> >> -    avcodec_set_dimensions(avctx, s->screen_width, s->screen_height);
> >> +    if (buf_size >= 6) {
> >> +        s->is_first_frame = memcmp(s->bytestream, gif87a_sig, 6) == 0 ||
> >> +                            memcmp(s->bytestream, gif89a_sig, 6) == 0;
> >> +    } else
> >> +        s->is_first_frame = 0;
> >
> > Should use flag for keyframe from demuxer instead.
> 
> Ignore this one.
> 
> >
> > Concatenated gifs should be supported.
> 
> In some other commit.
> 
> I gonna merge this soon.

Ok, thank you.



More information about the ffmpeg-devel mailing list