[FFmpeg-devel] [RFC] WC3 decoder without AVPaletteControl

Baptiste Coudurier baptiste.coudurier
Wed Apr 15 19:22:26 CEST 2009


On 4/11/2009 3:19 PM, Reimar D?ffinger wrote:
> Hello,
> attached patch implements this.
> It is a bit ugly because it adds a lot of seeking to the demuxer, but I
> think for such a fringe format there is no point in extra work for avoiding it.
> The patch also adds two helper functions, one to increase the size of a
> packet and one that appends data read from a file to a possibly already
> filled packet.
> I expect that there will be more that a few bugs still, e.g. while the
> video looks visually ok in ffplay the FATE regressions do not match at
> all.

Well it seems that palette could be stored in extradata in it's read in
wv3_read_header, a way to pass palette change information through
AVPacket would be needed.

Also AVPacket could have ->palette_data field which seems a lot cleaner
to me and Ronald.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list