PKGBUILDs/extra/netpbm/netpbm-10.35-jpeg7.patch

12 lines
472 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
--- converter/ppm/ppmtompeg/jpeg.c.orig 2009-07-08 17:29:05.000000000 -0400
+++ converter/ppm/ppmtompeg/jpeg.c 2009-07-08 17:31:00.000000000 -0400
@@ -470,7 +470,7 @@
#ifdef JPEG4
buffer_height = 8; /* could be 2, 4,8 rows high */
#else
- buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_scaled_size;
+ buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_v_scaled_size;
#endif
for(cp=0,compptr = cinfo.comp_info;cp<cinfo.num_components;