PKGBUILDs/extra/gtk2/libjpeg-7.patch

13 lines
588 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
diff -Naur gtk+-2.16.4-orig/gdk-pixbuf/io-jpeg.c gtk+-2.16.4/gdk-pixbuf/io-jpeg.c
--- gtk+-2.16.4-orig/gdk-pixbuf/io-jpeg.c 2009-06-19 12:59:18.000000000 +1000
+++ gtk+-2.16.4/gdk-pixbuf/io-jpeg.c 2009-07-18 17:35:05.000000000 +1000
@@ -922,7 +922,7 @@
}
}
- for (cinfo->scale_denom = 2; cinfo->scale_denom <= 8; cinfo->scale_denom *= 2) {
+ for (cinfo->scale_denom = 2; cinfo->scale_denom <= 16; cinfo->scale_denom *= 2) {
jpeg_calc_output_dimensions (cinfo);
if (cinfo->output_width < width || cinfo->output_height < height) {
cinfo->scale_denom /= 2;