slackbuilds_ponce/multimedia/transcode/transcode-jpeg8.patch
Heinz Wiesinger 6107d94b25 multimedia/transcode: Patched to eliminate libjpeg segault.
Thanks to Niels Horn for the patch.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2010-06-16 17:08:28 -05:00

10 lines
383 B
Diff

--- transcode-1.1.5/export/export_jpg.c 2009-02-21 18:01:57.000000000 -0300
+++ transcode-1.1.5_patched/export/export_jpg.c 2010-06-12 13:27:04.000000000 -0300
@@ -91,6 +91,7 @@
jpeg_set_quality(&encinfo, quality, TRUE);
encinfo.raw_data_in = TRUE;
+ encinfo.do_fancy_downsampling = FALSE;
encinfo.in_color_space = JCS_YCbCr;
encinfo.comp_info[0].h_samp_factor = 2;