PKGBUILDs/extra/gtk2/libjpeg-7.patch

12 lines
367 B
Diff
Raw Normal View History

2010-02-15 08:49:03 +00:00
--- 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);