Mercurial > libavformat.hg
diff avienc.c @ 6401:4c2f01a5f69f libavformat
asfcrypt: fix unaligned accesses with armcc
Compilers may assume a pointer has natural alignment, even if it was
assigned from a pointer type with weaker alignment requirements. It
is thus not safe to assign a possibly unaligned value to a pointer,
regardless of how it is subsequently dereferenced.
author | mru |
---|---|
date | Tue, 24 Aug 2010 13:42:28 +0000 |
parents | 563496476a23 |
children |