Mercurial > libavcodec.hg
comparison ppc/types_altivec.h @ 9905:f3ff182e9ecf libavcodec
Fix potentially unaligned accesses in ff_copy_bits()
A pointer should never be assigned a value which may have less than the
required alignment of the target type. Compilers may assume pointer
values have the required alignment, and emit normal load/store instructions.
Unaligned pointers should use a character type or compiler-specific
type modifiers.
author | mru |
---|---|
date | Wed, 01 Jul 2009 17:48:22 +0000 |
parents | 1615d6b75ada |
children | ae57be2ef58c |
comparison
equal
deleted
inserted
replaced
9904:efd0c5014ac7 | 9905:f3ff182e9ecf |
---|