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

Reimar Döffinger Reimar.Doeffinger
Mon Jun 28 19:29:09 CEST 2010


On Mon, Jun 28, 2010 at 05:42:18PM +0100, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> 
> > On Mon, Jun 28, 2010 at 05:10:03PM +0100, M?ns Rullg?rd wrote:
> >> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> >> 
> >> > Hello, this uses AV_WN32A, AV_WN64A etc. macros.  The generated code
> >> > is the same on x86_64 (assuming I did not mess up that test).
> >> 
> >> Does it also get rid of some warnings?
> >
> > Some clang warnings yes (but a lot remain), but I don't know about
> > gcc (haven't tried).
> 
> With gcc it removes some warnings and adds others.

Hm, attached variant of the addkey code has a lot less warnings for me...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aesalias1.diff
Type: text/x-diff
Size: 2161 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100628/c982ab38/attachment.diff>



More information about the ffmpeg-devel mailing list