[FFmpeg-devel] [PATCH] lavf/gifdec: allow GCE of size 3.

Clément Bœsch ubitux at gmail.com
Thu Apr 18 12:07:54 CEST 2013


On Thu, Apr 18, 2013 at 10:39:11AM +0200, Michael Niedermayer wrote:
> On Thu, Apr 18, 2013 at 04:18:28AM +0200, Clément Bœsch wrote:
> > If there is no transparency flag, the transparent color index is not
> > part of the of the block, and the size becomes 3B.
> > 
> > Quoting the specifications:
> >     viii) Transparency Index - The Transparency Index is such that when
> >     encountered, the corresponding pixel of the display device is not
> >     modified and processing goes on to the next pixel. The index is
> >     present if and only if the Transparency Flag is set to 1.
> > ---
> >  libavformat/gifdec.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> do we have a sample gif for this case ?
> 

I proudly generated one that was playable within browsers, but didn't find
any in the wild.

-- 
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/76169f7b/attachment.asc>


More information about the ffmpeg-devel mailing list