Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 307487 | Differences between
and this patch

Collapse All | Expand All

(-)a/Source/FreeImage/PluginJPEG.cpp (-3 / +5 lines)
Lines 34-42 extern "C" { Link Here
34
#undef FAR
34
#undef FAR
35
#include <setjmp.h>
35
#include <setjmp.h>
36
36
37
#include "../LibJPEG/jinclude.h"
37
#include <sys/types.h>
38
#include "../LibJPEG/jpeglib.h"
38
#include <stdio.h>
39
#include "../LibJPEG/jerror.h"
39
#include <jpeglib.h>
40
#include <jerror.h>
40
}
41
}
41
42
42
#include "FreeImage.h"
43
#include "FreeImage.h"
Lines 44-49 extern "C" { Link Here
44
45
45
#include "../Metadata/FreeImageTag.h"
46
#include "../Metadata/FreeImageTag.h"
46
47
48
#define SIZEOF(object)  ((size_t) sizeof(object))
47
49
48
// ==========================================================
50
// ==========================================================
49
// Plugin Interface
51
// Plugin Interface
(-)a/Source/FreeImageToolkit/JPEGTransform.cpp (-7 / +7 lines)
Lines 25-36 extern "C" { Link Here
25
#undef FAR
25
#undef FAR
26
#include <setjmp.h>
26
#include <setjmp.h>
27
27
28
#include "../LibJPEG/jinclude.h"
28
#include <sys/types.h>
29
#include "../LibJPEG/jpeglib.h"
29
#include <stdio.h>
30
#include "../LibJPEG/jerror.h"
30
#include <jpeglib.h>
31
#include "../LibJPEG/transupp.h"
31
#include <jerror.h>
32
}
32
#include "../LibJPEG/transupp.h"
33
33
}
34
#include "FreeImage.h"
34
#include "FreeImage.h"
35
#include "Utilities.h"
35
#include "Utilities.h"
36
36
Lines 266-272 LosslessTransform(const FilenameIO *filenameIO, FREE_IMAGE_JPEG_OPERATION operat Link Here
266
		jcopy_markers_execute(&srcinfo, &dstinfo, copyoption);
266
		jcopy_markers_execute(&srcinfo, &dstinfo, copyoption);
267
		
267
		
268
		// Execute image transformation, if any
268
		// Execute image transformation, if any
269
		jtransform_execute_transformation(&srcinfo, &dstinfo, src_coef_arrays, &transfoptions);
269
		jtransform_execute_transform(&srcinfo, &dstinfo, src_coef_arrays, &transfoptions);
270
		
270
		
271
		// Finish compression and release memory
271
		// Finish compression and release memory
272
		jpeg_finish_compress(&dstinfo);
272
		jpeg_finish_compress(&dstinfo);

Return to bug 307487