[FFmpeg-cvslog] avcodec/x86/lossless_videodsp: Fix size of values read for left/left_top
Michael Niedermayer
git at videolan.org
Thu Jun 19 06:00:05 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jun 19 05:53:41 2014 +0200| [042a82ca374b491903036872ebd487c5ceb17a63] | committer: Michael Niedermayer
avcodec/x86/lossless_videodsp: Fix size of values read for left/left_top
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=042a82ca374b491903036872ebd487c5ceb17a63
---
libavcodec/x86/lossless_videodsp.asm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/x86/lossless_videodsp.asm b/libavcodec/x86/lossless_videodsp.asm
index 43958be..e6c23e7 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
More information about the ffmpeg-cvslog
mailing list