aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-05 12:51:34 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-12-07 21:19:29 -0500
commit1c012e6bfb775eeb01355bfed7229c6795b3f3fc (patch)
tree6089b29b0b9e21f22d7517bfed97d8bab94f2737
parentb3deec325310938ec0a38a8ed1a795c451f2ea73 (diff)
downloadffmpeg-1c012e6bfb775eeb01355bfed7229c6795b3f3fc.tar.gz
x86: float_dsp: fix loading of the len parameter on x86-32
-rw-r--r--libavutil/x86/float_dsp.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
index 4a1742f63a..4113fd91e4 100644
--- a/libavutil/x86/float_dsp.asm
+++ b/libavutil/x86/float_dsp.asm
@@ -121,7 +121,10 @@ VECTOR_FMUL_SCALAR
;------------------------------------------------------------------------------
%macro VECTOR_DMUL_SCALAR 0
-%if UNIX64
+%if ARCH_X86_32
+cglobal vector_dmul_scalar, 3,4,3, dst, src, mul, len, lenaddr
+ mov lenq, lenaddrm
+%elif UNIX64
cglobal vector_dmul_scalar, 3,3,3, dst, src, len
%else
cglobal vector_dmul_scalar, 4,4,3, dst, src, mul, len