[Ffmpeg-devel] [PATCH] change gif demuxer to gif decoder

Baptiste Coudurier baptiste.coudurier
Sat Oct 21 18:01:21 CEST 2006


This patch change gif demuxer to gif decoder. I tried to keep the old
code as much as I could to to not mess with diff. Of course code needs
cleaning. I'll perform svn cp on file. We can then use gif with image2
format. One step more to remove AVImage.

Those get_* might be located in another file though.

Does gif only use PAL8 ?

gif_parse_next_image should be changed to a gif avcodec parser.

Still miss a proper AVPalette system to make that work with gif in mov.
I was thinking about adding an AVPalette field (buffer, or pointer ?) to
AVPacket and add a pkt flag to mention palette change then it's up to
application to detect it and update AVCodecContext AVPaletteControl
appropriatly. Does that sound good ?

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gif_decoder.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061021/f6f09da3/attachment.txt>

More information about the ffmpeg-devel mailing list