summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-26 01:37:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-26 01:43:47 +0200
commit5bc2c395273e020fc255a644196f0fc7c8e5ed83 (patch)
tree7c10ae72863caa4469d2cde6855bdfe31859bc0b /libavfilter
parent5193407cf68e974f599b614b4ef6c5aca9f53045 (diff)
avfilter/x86/vf_fspp: Fix invalid combination of opcode and operands
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/x86/vf_fspp.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/x86/vf_fspp.asm b/libavfilter/x86/vf_fspp.asm
index e88feb981a..c7f8f64f1b 100644
--- a/libavfilter/x86/vf_fspp.asm
+++ b/libavfilter/x86/vf_fspp.asm
@@ -65,13 +65,13 @@ cglobal store_slice, 2, 7, 0, dst, src, width, dither_height, dither, tmp, tmp2
mov tmpq, src_strideq
and widthq, ~7
sub dst_strideq, widthq
- movd m5, ditherq ; log2_scale
+ movd m5, ditherd ; log2_scale
xor ditherq, -1 ; log2_scale
mov tmp2q, tmpq
add ditherq, 7 ; log2_scale
neg tmpq
sub tmp2q, widthq
- movd m2, ditherq ; log2_scale
+ movd m2, ditherd ; log2_scale
add tmp2q, tmp2q
lea ditherq, [pb_dither]
mov src_strideq, tmp2q
@@ -132,12 +132,12 @@ cglobal store_slice2, 0, 7, 0, dst, src, width, dither_height, dither, tmp, tmp2
mov tmpq, src_strideq
and widthq, ~7
sub dst_strideq, widthq
- movd m5, ditherq ; log2_scale
+ movd m5, ditherd ; log2_scale
xor ditherq, -1 ; log2_scale
mov tmp2q, tmpq
add ditherq, 7 ; log2_scale
sub tmp2q, widthq
- movd m2, ditherq ; log2_scale
+ movd m2, ditherd ; log2_scale
add tmp2q, tmp2q
lea ditherq, [pb_dither]
mov src_strideq, tmp2q