[FFmpeg-devel] [PATCH 2/2] gif: use only one graphic control extension block per image.

Paul B Mahol onemda at gmail.com
Fri Apr 19 01:20:19 CEST 2013


On 4/18/13, Clement Boesch <ubitux at gmail.com> wrote:
> The encoder now doesn't produce any extra graphic control extension
> block anymore. Only the image is encoded, and the muxer writing
> its own GCE containing notably the timing information now includes the
> optional palette transmitted through packet side data.
>
> This commit avoid setting clashes between the two GCE, and reduce the
> size of the generated file with pal8 output.
> ---
>  libavcodec/gif.c  | 29 ++++++-----------------------
>  libavformat/gif.c | 28 ++++++++++++++++++++++++++--
>  2 files changed, 32 insertions(+), 25 deletions(-)
>

lgtm


More information about the ffmpeg-devel mailing list