[Ffmpeg-devel] AVPaletteControl removal from libavf (was Re: [MPlayer-dev-eng] [PATCH] (bit hackish) palette support for libav*)

Kostya kostya.shishkov
Tue Jan 30 19:52:05 CET 2007

On Tue, Jan 30, 2007 at 02:54:40PM +0100, Reimar Doeffinger wrote:
> Another solution would be to do something currently reserved like
> passing a NULL pointer as "int *data_size" parameter. Hackish with the
> beautiful side effect of crashing most decoders on palette packets.

Just FYI. AVI files may contain special 'palette change' chunks.
I don't know the current situation with MPlayer but it passed the
content of those chunks to decoder too (seen that in toon.avi encoded
with MS Video 1, vw6big.avi encoded with QPEG and some KMVC files
that are not currently in MPHQ).

> Would be also possible to somehow mark the palette specially in the
> demuxer, but that kind of stuff IMO does not belong into the demuxer any
> more than palette conversion.
> Greetings,
> Reimar Doeffinger

More information about the ffmpeg-devel mailing list