浏览代码

fixed turbo jpeg alignment crash

ncannasse 7 年之前
父节点
当前提交
078a2538ce
共有 2 个文件被更改,包括 4 次插入0 次删除
  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