Commit 8283f90a authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Luca Barbato

swscale: handle unaligned buffers in yuv2plane1

The issue had been introduced in
c4356536Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 29ae0565
......@@ -718,6 +718,8 @@ yuv2planeX_fn avx, 10, 7, 5
%macro yuv2plane1_fn 3
cglobal yuv2plane1_%1, %3, %3, %2
add r2, mmsize - 1
and r2, ~(mmsize - 1)
%if %1 == 8
add r1, r2
%else ; %1 != 8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment