[FFmpeg-devel] [PATCH] install aes.h, des.h and rc4.h

Reimar Döffinger Reimar.Doeffinger
Sun Mar 8 20:24:43 CET 2009


On Sun, Mar 08, 2009 at 07:19:55PM +0100, Michael Niedermayer wrote:
> On Sun, Mar 08, 2009 at 09:38:33AM +0100, Reimar D?ffinger wrote:
> > Is there a way we can go forwards with this or should we just give up on
> > making this public API.
> 
> Where was the problem with just saying in the docs that the struct must be
> aligned so that all user level instructions on the platform can access it.
> Or for portable applications align by 16 byte
> or something similar
> ?

We also need an implementation of it that works fine for asfcrypt.c.
Or in other words, coming up with a public API is not enough, we must
also come up with a way to actually use it within FFmpeg.
Which is not really a problem since I don't mind if the structure of
AVDES/AVRC4 is public and AVAES is always on the heap so far, it
just seems bad to be inconsistent with AVAES and to have no concept of
how to allocate AVAES on the stack (unless we decide there is never any
need to allocate them on the stack).




More information about the ffmpeg-devel mailing list