When I am testing some projects from “image-codecs” sample package, I found the small program “ijgtiming” fails to work for 64-bit application.
(it works very weil for a 32 -bit application )
The program will exit at the 38th line of the source code file “jcapimin.c”
if (structsize != SIZEOF(struct jpeg_compress_struct))
ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
(int) SIZEOF(struct jpeg_compress_struct), (int) structsize);
Please give me some hints how to fix this bug.
Tom
↧