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>
Sun, 17 Sep 2017 10:21:32 +0000 (12:21 +0200)
commitd15b1da8bcb3b559e1369e1dbd4319deb2b21d6e
treeb43b5dd29b95e0e506097f03a9569ee1b4a8face
parentdc86479e5febb9f4150ab0c5d24116ac473e8a03
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