[FFmpeg-devel] [PATCH] strict-aliasing-safe aes.c

Reimar Döffinger Reimar.Doeffinger
Tue Jun 29 18:16:03 CEST 2010


On Tue, Jun 29, 2010 at 05:10:09PM +0100, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> >> Are these API changes necessary?  Can't the rest of the fixes be done
> >> without this?
> >
> > No, they are not necessary, however I am in favour of at least having
> > av_aes_block available to allow for easy allocation of data
> > with suitable alignment.
> 
> Exposing internals like that is less than ideal.  Simply documenting
> the 8-byte alignment requirement should be enough.

I guess I agree, I'll make the change if the idea is ok'd in principle.



More information about the ffmpeg-devel mailing list