[Ffmpeg-cvslog] r8379 - trunk/libavutil/sha1.c

Rich Felker dalias
Tue Mar 13 17:09:08 CET 2007


On Tue, Mar 13, 2007 at 11:48:22AM +0100, michael wrote:
> Author: michael
> Date: Tue Mar 13 11:48:22 2007
> New Revision: 8379
> 
> Modified:
>    trunk/libavutil/sha1.c
> 
> Log:
> put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment

Padding is needed anyway. The size of a struct is always a multiple of
the maximum alignment needed by any member, so that arrays of the
struct type work.

Rich




More information about the ffmpeg-cvslog mailing list