]> git.pld-linux.org Git - packages/djvu.git/blob - djvu-libjpeg.patch
- converted to UTF-8
[packages/djvu.git] / djvu-libjpeg.patch
1 --- DjVu3.orig/src/libdjvu++/JPEGDecoder.h      Thu Jan  4 23:04:55 2001
2 +++ DjVu3/src/libdjvu++/JPEGDecoder.h   Mon Jul  9 01:25:02 2001
3 @@ -43,11 +43,12 @@
4  
5  #ifdef NEED_JPEG_DECODER
6  
7 +#include <stdio.h>
8 +
9  #ifdef __cplusplus
10  extern "C" {
11  #endif
12  
13 -#include <jinclude.h>
14  #include <jpeglib.h>
15  #include <jerror.h>
16  
17 --- DjVu3.orig/src/libdjvu++/JPEGDecoder.cpp    Tue Mar  6 20:55:42 2001
18 +++ DjVu3/src/libdjvu++/JPEGDecoder.cpp Mon Jul  9 01:36:09 2001
19 @@ -240,11 +240,11 @@
20    { /* first time for this JPEG object? */
21      cinfo->src = (struct jpeg_source_mgr *)      
22        (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,
23 -          SIZEOF(byte_stream_src_mgr));
24 +          sizeof(byte_stream_src_mgr));
25      src = (byte_stream_src_ptr) cinfo->src;
26      src->buffer = (JOCTET *)
27        (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,
28 -          INPUT_BUF_SIZE * SIZEOF(JOCTET));
29 +          INPUT_BUF_SIZE * sizeof(JOCTET));
30    }
31  
32    src = (byte_stream_src_ptr) cinfo->src;
This page took 0.02236 seconds and 3 git commands to generate.