[proaudio] libpng patch for jmeters

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


please include patch for libpng >= 1.5 

thanks,
-Reuben
--- mkimage.cc	2012-08-20 17:40:55.394562834 -0500
+++ mkimage.cc	2012-08-20 17:43:03.137195746 -0500
@@ -54,8 +54,8 @@
                   PNG_TRANSFORM_STRIP_16 | PNG_TRANSFORM_PACKING | PNG_TRANSFORM_EXPAND,
                   0);
 
-    dx = png_info->width;
-    dy = png_info->height;
+    dx = png_get_image_width(png_ptr, png_info);
+    dy = png_get_image_height(png_ptr, png_info);
     data = (const unsigned char **)(png_get_rows (png_ptr, png_info));
 
     image = XCreateImage (disp->dpy (),


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/