[Ffmpeg-devel] [PATCH] add support for indexed 8bpp BMP files
Thu Apr 19 13:24:03 CEST 2007
On Mon, Apr 16, 2007 at 01:33:47PM +0200, lode leroy wrote:
> >> + > + memcpy(p->data, pal, clrimportant*sizeof(uint32_t));
> >likely wrong on big endian
> I think it isn't. it's an array of R / G / B / 0 bytes
> but I did change the sizeof(uint32_t) to "4" ...
Palette in data must be in machine-endian in ffmpeg. I don't think
it's that a good idea, but that's how it is...
More information about the ffmpeg-devel