mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
- Fix segmentation fault with jpeg
PR: 146311 Submitted by: Ports Fury Approved by: maintainer
This commit is contained in:
parent
6caafb26d4
commit
40245408ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254002
@ -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/
|
||||
|
16
multimedia/transcode/files/patch-export__export_jpg.c
Normal file
16
multimedia/transcode/files/patch-export__export_jpg.c
Normal file
@ -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;
|
Loading…
x
Reference in New Issue
Block a user