Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 479946
Collapse All | Expand All

(-)vcl/source/filter/jpeg/JpegReader.cxx.old (-3 / +3 lines)
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)
(-)vcl/source/filter/jpeg/JpegWriter.cxx.old (-1 / +1 lines)
Lines 86-92 Link Here
86
    destination->pub.next_output_byte = destination->buffer;
86
    destination->pub.next_output_byte = destination->buffer;
87
    destination->pub.free_in_buffer = BUFFER_SIZE;
87
    destination->pub.free_in_buffer = BUFFER_SIZE;
88
88
89
    return sal_True;
89
    return boolean(sal_True);
90
}
90
}
91
91
92
extern "C" void term_destination (j_compress_ptr cinfo)
92
extern "C" void term_destination (j_compress_ptr cinfo)

Return to bug 479946