Kaydet (Commit) 105e2611 authored tarafından Eike Rathke's avatar Eike Rathke

Revert "grml.. nScanLineBufferComponents still needs to be on jmp stack"

This reverts commit d3892160.

Author is obviously too dumb for this. It's alright, isn't it?
üst a989d6f5
......@@ -69,7 +69,6 @@ void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines,
long nAlignedWidth;
JSAMPLE* aRangeLimit;
boost::scoped_array<unsigned char> pScanLineBuffer;
long nScanLineBufferComponents;
if ( setjmp( jerr.setjmp_buffer ) )
{
......@@ -150,7 +149,7 @@ void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines,
nAlignedWidth = aCreateBitmapParam.nAlignedWidth;
aRangeLimit = cinfo.sample_range_limit;
nScanLineBufferComponents = 0;
long nScanLineBufferComponents = 0;
if ( cinfo.out_color_space == JCS_CMYK )
{
nScanLineBufferComponents = cinfo.output_width * 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment