Browse Source

swscale: handle unaligned buffers in yuv2plane1

The issue had been introduced in
c435653627

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
tags/n0.9
Ronald S. Bultje Luca Barbato 14 years ago
parent
commit
8283f90a52
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libswscale/x86/scale.asm

+ 2
- 0
libswscale/x86/scale.asm View File

@@ -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


Loading…
Cancel
Save