diff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm index 727daa9774cf83ea572ba009441b557818344a74..b9a78a57205c68b858732c2bb747df0737fa4faa 100644 --- a/libavcodec/x86/fmtconvert.asm +++ b/libavcodec/x86/fmtconvert.asm @@ -37,6 +37,9 @@ cglobal int32_to_float_fmul_scalar, 4, 4, %1, dst, src, mul, len SWAP 0, 2 %elif ARCH_X86_32 movss m0, mulm +%endif +%if ARCH_X86_64 + movsxd lenq, lend %endif SPLATD m0 shl lenq, 2