[FFmpeg-devel] [RFC] AES init

Luca Barbato lu_zero
Sun May 13 19:38:15 CEST 2007


Rich Felker wrote:
> 
> Personally I'm against runtime initialization. All the data is
> constant! Include these tables as static arrays in the text/rodata
> segment and they'll use less memory and the race condition goes away
> permanently without hackish solutions like this.

The only problem is that it would consume memory needlessly, still it is
less complicated than the other solution proposed.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list