slackbuilds_ponce/multimedia/gpac/libpng-infopp-null.patch
Nishant Limbachia ffd55fee8e multimedia/gpac: Added (multimedia framework)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2010-07-06 02:33:55 -05:00

11 lines
385 B
Diff

--- img.c.orig 2010-05-27 22:20:32.758633643 -0500
+++ img.c 2010-05-27 22:21:49.263633070 -0500
@@ -551,7 +551,7 @@
/* Allocate/initialize the image information data. REQUIRED */
info_ptr = png_create_info_struct(png_ptr);
if (info_ptr == NULL) {
- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
+ png_destroy_write_struct(&png_ptr, NULL);
return GF_IO_ERR;
}