From 105e2611032ebc8ad777deb19b8cea62ad2279e2 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 6 Jan 2015 21:33:56 +0100 Subject: Revert "grml.. nScanLineBufferComponents still needs to be on jmp stack" This reverts commit d389216038d874c0d99a8168649a7f5f4db970d3. Author is obviously too dumb for this. It's alright, isn't it? --- vcl/source/filter/jpeg/jpegc.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/source/filter') diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx index b4cd99538328..411b17bd1644 100644 --- a/vcl/source/filter/jpeg/jpegc.cxx +++ b/vcl/source/filter/jpeg/jpegc.cxx @@ -69,7 +69,6 @@ void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines, long nAlignedWidth; JSAMPLE* aRangeLimit; boost::scoped_array 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; -- cgit v1.2.3