Hi, i'm trying to install an app called "Lexware Buchhalter". It requests to load a jpeg image, and while loading _jpeg_skip_input_data is called and the app exits. Here's a fix, which makes the installer appear correctly. -- Nikolas Zimmermann wildfox@kde.org
Index: olepicture.c =================================================================== RCS file: /home/wine/wine/dlls/oleaut32/olepicture.c,v retrieving revision 1.25 diff -u -p -b -r1.25 olepicture.c --- olepicture.c 8 May 2003 17:35:12 -0000 1.25 +++ olepicture.c 22 May 2003 12:41:04 -0000 @@ -810,7 +810,9 @@ static boolean _jpeg_fill_input_buffer(j } static void _jpeg_skip_input_data(j_decompress_ptr cinfo,long num_bytes) { - ERR("(%ld), should not get here.\n",num_bytes); + TRACE("Skipping %ld bytes...\n", num_bytes); + memcpy(cinfo->src->next_input_byte, cinfo->src->next_input_byte + num_bytes, cinfo->src->bytes_in_buffer - num_bytes); + cinfo->src->bytes_in_buffer -= num_bytes; } static boolean _jpeg_resync_to_restart(j_decompress_ptr cinfo, int desired) {
Attachment:
pgp00134.pgp
Description: signature