diff options
author | root <root@rshg054.dnsready.net> | 2011-09-12 23:14:44 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-12 23:14:44 +0000 |
commit | b3a841a1f66eff75be29fba090b83ce4322d4721 (patch) | |
tree | f91ebd6bbbf3590fc3ca861c5b209e408d22b39b /staging/transcode/transcode-1.1.5-jpeg-7.patch | |
parent | 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (diff) |
Mon Sep 12 23:14:44 UTC 2011
Diffstat (limited to 'staging/transcode/transcode-1.1.5-jpeg-7.patch')
-rw-r--r-- | staging/transcode/transcode-1.1.5-jpeg-7.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/staging/transcode/transcode-1.1.5-jpeg-7.patch b/staging/transcode/transcode-1.1.5-jpeg-7.patch new file mode 100644 index 000000000..288932a61 --- /dev/null +++ b/staging/transcode/transcode-1.1.5-jpeg-7.patch @@ -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; |