From a35b4e8d290eeada04773038b8dc3c7a13e8f7dc Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 6 Apr 2025 11:00:01 -0300 Subject: [PATCH] avutil/x86/aes: ignore the upper bits in count The argument is an int. Signed-off-by: James Almer --- libavutil/x86/aes.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/x86/aes.asm b/libavutil/x86/aes.asm index 197d00b840..7084c46055 100644 --- a/libavutil/x86/aes.asm +++ b/libavutil/x86/aes.asm @@ -28,7 +28,7 @@ SECTION .text ;----------------------------------------------------------------------------- %macro AES_CRYPT 1 cglobal aes_%1rypt, 6,6,2 - test r3, r3 + test r3d, r3d je .ret shl r3d, 4 add r5d, r5d