avcodec/me_cmp: Fix crashes on ARM due to misalignment
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Aug 2017 21:38:58 +0000 (23:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Aug 2017 21:27:35 +0000 (23:27 +0200)
commit079849f40c52de33941c2776e8c971954b298b48
tree824efdc7cca143074692ae84b7243af8e4089c29
parent0b37ae2ae475ba9f368f06d3302c5032897978ee
avcodec/me_cmp: Fix crashes on ARM due to misalignment

Adds a diff_pixels_unaligned()

Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872503

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit bc488ec28aec4bc91ba47283c49c9f7f25696eaa)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/me_cmp.c
libavcodec/pixblockdsp.c
libavcodec/pixblockdsp.h
libavcodec/x86/pixblockdsp_init.c