mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 23:17:41 +08:00
avutil/aes: Use #if checks instead of if (ARCH_X86)
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -237,8 +237,9 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt)
|
||||
|
||||
a->rounds = rounds;
|
||||
a->crypt = decrypt ? aes_decrypt : aes_encrypt;
|
||||
if (ARCH_X86)
|
||||
#if ARCH_X86
|
||||
ff_init_aes_x86(a, decrypt);
|
||||
#endif
|
||||
|
||||
ff_thread_once(&aes_static_init, aes_init_static);
|
||||
|
||||
|
Reference in New Issue
Block a user