Browse Source

fixed turbo jpeg alignment crash

ncannasse 7 years ago
parent
commit
078a2538ce
2 changed files with 4 additions and 0 deletions
  1. 2 0
      include/turbojpeg/README.txt
  2. 2 0
      include/turbojpeg/jconfig.h

+ 2 - 0
include/turbojpeg/README.txt

@@ -13,4 +13,6 @@ The following patch was added to jsimd_i386.c (init_smd):
   simd_support &= ~JSIMD_SSE2; // using SSE2 in Debug mode will crash
 # endif
 
+Also added in jconfig.h
 
+#define WITH_SIMD

+ 2 - 0
include/turbojpeg/jconfig.h

@@ -1,6 +1,8 @@
 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
 /* see jconfig.txt for explanations */
 
+#define WITH_SIMD
+
 #define JPEG_LIB_VERSION 62
 #define LIBJPEG_TURBO_VERSION 1.4.2
 #define C_ARITH_CODING_SUPPORTED