Skip to content
Snippets Groups Projects
Commit 8283f90a authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Luca Barbato
Browse files

swscale: handle unaligned buffers in yuv2plane1


The issue had been introduced in
c4356536

Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent 29ae0565
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment