diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-01 17:48:22 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-01 17:48:22 +0000 |
commit | ec62d942ea73d98ee2760746884779d7e0ccb6d3 (patch) | |
tree | 70cf10800671c65573015da7518ecef9df8a7a6d /libavformat/rmdec.c | |
parent | f7f1eb6cc9ce3e22dc48d20191eedc10008d878f (diff) | |
download | ffmpeg-ec62d942ea73d98ee2760746884779d7e0ccb6d3.tar.gz |
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.
Originally committed as revision 19318 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
0 files changed, 0 insertions, 0 deletions