swscale/x86/yuv2rgb: fix crashes when loading alpha from unaligned buffers

Regression since fc6a5883d6 on SSSE3 enabled
CPUs.

Fixes ticket #8955.

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint 2020-10-28 23:11:37 +01:00
parent 02188639ca
commit 993429cfb4
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ cglobal %1_420_%2%3, GPR_num, GPR_num, reg_num, parameters
%ifidn %1, yuv %ifidn %1, yuv
pcmpeqd m3, m3 ; Set alpha empty pcmpeqd m3, m3 ; Set alpha empty
%else %else
mova m3, [pa_2indexq + 2 * indexq] ; Load alpha movu m3, [pa_2indexq + 2 * indexq] ; Load alpha
%endif %endif
mova m5, m_blue mova m5, m_blue
mova m6, m_red mova m6, m_red