History

avutil/aes: Use #if checks instead of if (ARCH_X86)

Andreas Rheinhardt committed 1 year ago

Commit 516bcfc1 parent f81ace51 file · +3 −2Browse files

Unified · Split

libavutil/aes.c+3−2
@@ -237,8 +237,9 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) · 236 unmodified lines
237 237
238 a->rounds = rounds;238 a->rounds = rounds;
239 a->crypt = decrypt ? aes_decrypt : aes_encrypt;239 a->crypt = decrypt ? aes_decrypt : aes_encrypt;
240 if (ARCH_X86)240#if ARCH_X86
241 ff_init_aes_x86(a, decrypt);241 ff_init_aes_x86(a, decrypt);
242#endif
242 243
243 ff_thread_once(&aes_static_init, aes_init_static);244 ff_thread_once(&aes_static_init, aes_init_static);
244 245

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t