Skip to content

Instantly share code, notes, and snippets.

@tru

tru/-

Created March 16, 2015 12:43
Show Gist options
  • Select an option

  • Save tru/71464629ae254c41e5b1 to your computer and use it in GitHub Desktop.

Select an option

Save tru/71464629ae254c41e5b1 to your computer and use it in GitHub Desktop.
commit c375d8c060e7518fd1c840d80dfa03dbcc888f9b
Author: Tobias Hieta <tobias@plexapp.com>
Date: Mon Mar 16 09:52:21 2015 +0100
Disable VIA CPU Assembler in AES code.
Was causing a lot of crashes on non-VIA CPU’s. Fixes #1527
diff --git a/plex/Third-Party/aes/aesopt.h b/plex/Third-Party/aes/aesopt.h
index 6ad9ca1..aed1c3f 100755
--- a/plex/Third-Party/aes/aesopt.h
+++ b/plex/Third-Party/aes/aesopt.h
@@ -208,7 +208,7 @@ Issue Date: 20/12/2007
AES_REV_DKS must be set for assembler code used with a VIA ACE build
*/
-#if 1 && defined( VIA_ACE_POSSIBLE ) && !defined( USE_VIA_ACE_IF_PRESENT )
+#if 0 && defined( VIA_ACE_POSSIBLE ) && !defined( USE_VIA_ACE_IF_PRESENT )
# define USE_VIA_ACE_IF_PRESENT
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment