Lines 71-77
Link Here
|
71 |
* but we don't clear the input buffer. |
71 |
* but we don't clear the input buffer. |
72 |
* This is correct behavior for reading a series of images from one source. |
72 |
* This is correct behavior for reading a series of images from one source. |
73 |
*/ |
73 |
*/ |
74 |
source->start_of_file = sal_True; |
74 |
source->start_of_file = boolean(sal_True); |
75 |
} |
75 |
} |
76 |
|
76 |
|
77 |
long StreamRead( SvStream* pStream, void* pBuffer, long nBufferSize ) |
77 |
long StreamRead( SvStream* pStream, void* pBuffer, long nBufferSize ) |
Lines 119-127
Link Here
|
119 |
|
119 |
|
120 |
source->pub.next_input_byte = source->buffer; |
120 |
source->pub.next_input_byte = source->buffer; |
121 |
source->pub.bytes_in_buffer = nbytes; |
121 |
source->pub.bytes_in_buffer = nbytes; |
122 |
source->start_of_file = sal_False; |
122 |
source->start_of_file = boolean(sal_False); |
123 |
|
123 |
|
124 |
return sal_True; |
124 |
return boolean(sal_True); |
125 |
} |
125 |
} |
126 |
|
126 |
|
127 |
extern "C" void skip_input_data (j_decompress_ptr cinfo, long numberOfBytes) |
127 |
extern "C" void skip_input_data (j_decompress_ptr cinfo, long numberOfBytes) |