Line 0
Link Here
|
|
|
1 |
http://bugs.gentoo.org/show_bug.cgi?id=294488 |
2 |
|
3 |
Patch by: Salah Coronya |
4 |
|
5 |
Fix segmentation fault with jpeg-7 and above where dinfo.do_fancy_upsampling isn't set by default to FALSE anymore. |
6 |
|
7 |
--- export/export_jpg.c |
8 |
+++ export/export_jpg.c |
9 |
@@ -91,6 +91,7 @@ |
10 |
|
11 |
jpeg_set_quality(&encinfo, quality, TRUE); |
12 |
encinfo.raw_data_in = TRUE; |
13 |
+ encinfo.do_fancy_downsampling = FALSE; |
14 |
encinfo.in_color_space = JCS_YCbCr; |
15 |
|
16 |
encinfo.comp_info[0].h_samp_factor = 2; |