x86: float_dsp: fix loading of the len parameter on x86-32
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 5 Dec 2012 17:51:34 +0000 (12:51 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 8 Dec 2012 02:19:29 +0000 (21:19 -0500)
libavutil/x86/float_dsp.asm

index 4a1742f..4113fd9 100644 (file)
@@ -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