aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-27 04:31:30 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-06-19 11:11:41 +0200
commite9502ee26ae14383fe1963f2de6a04ef07dd31f1 (patch)
tree7396dcff2adc33d31c375bc36fea8efca5e74acb
parent11f597ed848641727e4d823052cde9502e075a3e (diff)
downloadffmpeg-e9502ee26ae14383fe1963f2de6a04ef07dd31f1.tar.gz
avfilter/x86/vf_hqdn3d: Fix register types
Fixes Ticket4301 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 52fc3e372f8ed4de5735abed1f7f7569fe37b023)
-rw-r--r--libavfilter/x86/vf_hqdn3d.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/x86/vf_hqdn3d.asm b/libavfilter/x86/vf_hqdn3d.asm
index 961127e670..e3b1bdca53 100644
--- a/libavfilter/x86/vf_hqdn3d.asm
+++ b/libavfilter/x86/vf_hqdn3d.asm
@@ -27,8 +27,8 @@ SECTION .text
%if lut_bits != 8
sar %1q, 8-lut_bits
%endif
- movsx %1d, word [%3q+%1q*2]
- add %1d, %2d
+ movsx %1q, word [%3q+%1q*2]
+ add %1q, %2q
%endmacro
%macro LOAD 3 ; dstreg, x, bitdepth