diff options
author | James Almer <jamrial@gmail.com> | 2023-11-15 16:09:05 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-11-15 16:10:15 -0300 |
commit | 78f55457c9be420f4109da45de42a36338d56aca (patch) | |
tree | 3b4c2ce4953af36ea6ebd455d9584e7f51ee8770 /libavcodec | |
parent | c9fe9fb86300c240da5e9c1441445c8dee5c7bce (diff) | |
download | ffmpeg-78f55457c9be420f4109da45de42a36338d56aca.tar.gz |
x86/flacds: clear the high bits from pred_order in lpc_32 functions
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/flacdsp.asm | 1 |
1 files changed, 1 insertions, 0 deletions
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 |