aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-19 05:53:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-19 05:53:41 +0200
commit042a82ca374b491903036872ebd487c5ceb17a63 (patch)
tree0d705f92d349c577dee6fff32fd09c8c36d0c7c5
parent2b05db4f8102148d013755ac2a7e47f6d79ff7ca (diff)
downloadffmpeg-042a82ca374b491903036872ebd487c5ceb17a63.tar.gz
avcodec/x86/lossless_videodsp: Fix size of values read for left/left_top
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/x86/lossless_videodsp.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/lossless_videodsp.asm b/libavcodec/x86/lossless_videodsp.asm
index 43958be5c9..e6c23e7985 100644
--- a/libavcodec/x86/lossless_videodsp.asm
+++ b/libavcodec/x86/lossless_videodsp.asm
@@ -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