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

Paul B Mahol onemda at gmail.com
Fri Nov 30 14:33:35 CET 2012


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.


More information about the ffmpeg-devel mailing list