diff --git a/libavcodec/x86/flacdsp.asm b/libavcodec/x86/flacdsp.asm index 44416e4dfd..4b2fd65435 100644 --- a/libavcodec/x86/flacdsp.asm +++ b/libavcodec/x86/flacdsp.asm @@ -43,6 +43,7 @@ INIT_XMM %1 cglobal flac_lpc_32, 5,6,5, decoded, coeffs, pred_order, qlevel, len, j sub lend, pred_orderd jle .ret + movsxdifnidn pred_orderq, pred_orderd lea decodedq, [decodedq+pred_orderq*4-8] lea coeffsq, [coeffsq+pred_orderq*4] neg pred_orderq