On 10/12/2015 2:38 AM, Rodger Combs wrote:
> +%macro AES_CRYPT 1
> +%if %1 == 1
> +%define CRYPT aesdec
> +%define LAST  aesdeclast
> +cglobal aes_decrypt, 6,6,2
> +%else
> +%define CRYPT aesenc
> +%define LAST  aesenclast
> +cglobal aes_encrypt, 6,6,2
> +%endif
> +    pxor xm1, xm1
> +    mov r5d, r5d

Remove this. You can clear the high bits below using r5d.

> +    imul r5, 16

shl r5d, 4

> +    test r4, r4

Don't resend the patch just yet. Wait a bit for other comments
first.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to