lagarith: do not call simd functions on unaligned lines
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 30 Dec 2013 08:31:57 +0000 (09:31 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 6 Jan 2014 07:19:29 +0000 (08:19 +0100)
commit2f97094608cfd2665660f7a26a3291559b186752
tree5773a8b758c55ab29b7430a44ff053e00a524c81
parentf4a8a0080537484154bb74e08ec76cbcbd25484b
lagarith: do not call simd functions on unaligned lines

They end up overwriting past the line end.

Partially based on a patch by Michael Niedermayer <michaelni@gmx.at>

Bug-Id: vlc/9700
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/lagarith.c