Commit 5a22495a authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Fiona Glaser
Browse files

Fix invalid memory accesses in x86 lowres_init when width <= 16

parent 8b72a9e4
......@@ -1578,6 +1578,7 @@ cglobal frame_init_lowres_core, 6,7,(12-4*(BIT_DEPTH/9)) ; 8 for HIGH_BIT_DEPTH,
mova m0, m2
mova m1, m3
sub r6d, 8
jz .skip
%endif ; mmsize
sub r0, mmsize*2
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