On Sun, Jul 03, 2011 at 11:20:48AM +0100, Mans Rullgard wrote:
> This was missed in 5d20f19 since CONFIG_SMALL was always broken
> for big endian.
> 
> --- a/libavutil/aes.c
> +++ b/libavutil/aes.c
> @@ -54,7 +54,11 @@ static uint32_t enc_multbl[4][256];
>  
> -#define ROT(x, s) ((x << s) | (x >> (32-s)))
> +#if HAVE_BIGENDIAN
> +#   define ROT(x, s) ((x >> s) | (x << (32-s)))
> +#else
> +#   define ROT(x, s) ((x << s) | (x >> (32-s)))
> +#endif

LGTM, extra good karma for giving the '-' room to breathe.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to