aboutsummaryrefslogtreecommitdiff
path: root/multimedia/transcode
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-09 11:22:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-09 11:22:21 +0000
commit40245408acc8e2fadea94dddb5e35a3cbcd4e19a (patch)
treee902b89b8ff9acb5565fd39edef04dd7d6b81e6e /multimedia/transcode
parent6caafb26d4a956eacb237ffabba9a4940cc49f1d (diff)
downloadports-40245408acc8e2fadea94dddb5e35a3cbcd4e19a.tar.gz
ports-40245408acc8e2fadea94dddb5e35a3cbcd4e19a.zip
Notes
Diffstat (limited to 'multimedia/transcode')
-rw-r--r--multimedia/transcode/Makefile2
-rw-r--r--multimedia/transcode/files/patch-export__export_jpg.c16
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index 9930e952dd45..47cf46271997 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -7,7 +7,7 @@
PORTNAME= transcode
PORTVERSION= 1.1.5
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_BERLIOS} \
http://fromani.exit1.org/
diff --git a/multimedia/transcode/files/patch-export__export_jpg.c b/multimedia/transcode/files/patch-export__export_jpg.c
new file mode 100644
index 000000000000..288932a6159c
--- /dev/null
+++ b/multimedia/transcode/files/patch-export__export_jpg.c
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/show_bug.cgi?id=294488
+
+Patch by: Salah Coronya
+
+Fix segmentation fault with jpeg-7 and above where dinfo.do_fancy_upsampling isn't set by default to FALSE anymore.
+
+--- export/export_jpg.c
++++ export/export_jpg.c
+@@ -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;