[poppler] Branch 'poppler-0.10' - poppler/DCTStream.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun Mar 8 04:57:37 PDT 2009
poppler/DCTStream.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 507225a6dcc3441e90ea0cc7f731dc1291e07013
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Mar 8 12:57:15 2009 +0100
Fix the previous fix
I should stop listening to people without checking that what they say is correct
diff --git a/poppler/DCTStream.cc b/poppler/DCTStream.cc
index 6e7e0af..aab2df8 100644
--- a/poppler/DCTStream.cc
+++ b/poppler/DCTStream.cc
@@ -77,7 +77,6 @@ void DCTStream::init()
{
jpeg_std_error(&jerr);
jerr.error_exit = &exitErrorHandler;
- cinfo.err = &jerr;
src.pub.init_source = str_init_source;
src.pub.fill_input_buffer = str_fill_input_buffer;
src.pub.skip_input_data = str_skip_input_data;
@@ -88,9 +87,10 @@ void DCTStream::init()
src.str = str;
src.index = 0;
src.abort = false;
- cinfo.src = (jpeg_source_mgr *)&src;
jpeg_create_decompress(&cinfo);
+ cinfo.err = &jerr;
+ cinfo.src = (jpeg_source_mgr *)&src;
x = 0;
row_buffer = NULL;
}
More information about the poppler
mailing list