Commit 042a82ca authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/x86/lossless_videodsp: Fix size of values read for left/left_top

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2b05db4f
...@@ -287,8 +287,8 @@ cglobal sub_hfyu_median_pred_int16, 7,7,0, dst, src1, src2, mask, w, left, left_ ...@@ -287,8 +287,8 @@ cglobal sub_hfyu_median_pred_int16, 7,7,0, dst, src1, src2, mask, w, left, left_
movq mm2, [src2q + maskq - 2] movq mm2, [src2q + maskq - 2]
cmp maskq, wq cmp maskq, wq
jb .loop jb .loop
mov maskd, [src1q + wq - 2] movzx maskd, word [src1q + wq - 2]
mov [left_topq], maskd mov [left_topq], maskd
mov maskd, [src2q + wq - 2] movzx maskd, word [src2q + wq - 2]
mov [leftq], maskd mov [leftq], maskd
RET RET
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