mirror of
https://github.com/koreader/koreader
synced 2024-11-18 03:25:46 +00:00
16 lines
812 B
Diff
16 lines
812 B
Diff
|
--- jcapimin.c 2012-04-04 00:02:30.000000000 +0800
|
||
|
+++ jcapimin-patched.c 2012-04-04 00:02:26.000000000 +0800
|
||
|
@@ -36,9 +36,9 @@
|
||
|
cinfo->mem = NULL; /* so jpeg_destroy knows mem mgr not called */
|
||
|
if (version != JPEG_LIB_VERSION)
|
||
|
ERREXIT2(cinfo, JERR_BAD_LIB_VERSION, JPEG_LIB_VERSION, version);
|
||
|
- if (structsize != SIZEOF(struct jpeg_compress_struct))
|
||
|
- ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
|
||
|
- (int) SIZEOF(struct jpeg_compress_struct), (int) structsize);
|
||
|
+ /*if (structsize != SIZEOF(struct jpeg_compress_struct))*/
|
||
|
+ /*ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE, */
|
||
|
+ /*(int) SIZEOF(struct jpeg_compress_struct), (int) structsize);*/
|
||
|
|
||
|
/* For debugging purposes, we zero the whole master structure.
|
||
|
* But the application has already set the err pointer, and may have set
|