Re: JPEG parameter struct mismatch

2008-04-12 Thread Charles Wilson
w1hkj wrote: JPEG parameter struct mismatch: library thinks size is 376, caller expects 360. Testing the struct in question, "jpeg_compress_struct" with a sizeof give the value 360. The cygwin jpeg includes the so-called "lossless jpeg" patch. This patch changes the *pri

JPEG parameter struct mismatch

2008-04-12 Thread w1hkj
I have a fairly simple image to save in jpeg format. The code works correctly in native Linux and also compiles and works correctly under MinGW. When I try the same build in Cygwin the program crashes with the following libjpeg message: JPEG parameter struct mismatch: library thinks size