avcodec/dxtory: use unaligned copy for unaligned addresses
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 30 Oct 2014 18:24:49 +0000 (19:24 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 30 Oct 2014 18:43:03 +0000 (19:43 +0100)
commit47f1596ecef3304f20be1be2dc6978989334608f
treeaf937982645751b9474798929b94338a4e9089dd
parente91ba2efa949470e9157b652535d207a101f91e0
avcodec/dxtory: use unaligned copy for unaligned addresses

Fixes undefined behavior
Fixes: asan_heap-oob_112c6b3_13_012.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dxtory.c