[FFmpeg-devel] [PATCH] lavf/gifdec: allow GCE of size 3.
Paul B Mahol
onemda at gmail.com
Tue Apr 30 16:14:08 CEST 2013
On 4/18/13, Paul B Mahol <onemda at gmail.com> wrote:
> On 4/18/13, Clement Boesch <ubitux at gmail.com> wrote:
>> On Thu, Apr 18, 2013 at 10:39:11AM +0200, Michael Niedermayer wrote:
>>> On Thu, Apr 18, 2013 at 04:18:28AM +0200, Clement Boesch 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,
> And if its not played by ffplay than patch ok.
> Consider uploading small sample for gif coverage.
More information about the ffmpeg-devel