[FFmpeg-devel] [PATCH]Set palette for 1bit PCX
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Nov 11 18:21:04 CET 2011
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> > + ((uint32_t *) p->data) = 0xFF000000;
> > + ((uint32_t *) p->data) = 0xFFFFFFFF;
> Hm, might it be better to use AV_WNA32 to avoid e.g. possible
> aliasing warnings/issues?
> I know it seems overly pedantic, but still.
Is this what you had in mind?
AV_WN32(p->data , 0xFF000000);
More information about the ffmpeg-devel