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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-06-19 05:53:41 +02:00
parent 2b05db4f81
commit 042a82ca37
1 changed files with 2 additions and 2 deletions

View File

@ -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]
cmp maskq, wq
jb .loop
mov maskd, [src1q + wq - 2]
movzx maskd, word [src1q + wq - 2]
mov [left_topq], maskd
mov maskd, [src2q + wq - 2]
movzx maskd, word [src2q + wq - 2]
mov [leftq], maskd
RET