PKGBUILDs/extra/gtk2/libjpeg-7.patch
2010-02-15 02:49:03 -06:00

11 lines
367 B
Diff

--- gtk+-2.18.2/gdk-pixbuf/io-jpeg.c.orig 2009-10-09 09:53:34.000000000 +0200
+++ gtk+-2.18.2/gdk-pixbuf/io-jpeg.c 2009-10-09 09:54:23.000000000 +0200
@@ -920,6 +920,8 @@
return FALSE;
}
}
+
+ cinfo->scale_num = 1;
for (cinfo->scale_denom = 2; cinfo->scale_denom <= 8; cinfo->scale_denom *= 2) {
jpeg_calc_output_dimensions (cinfo);