summaryrefslogtreecommitdiff
path: root/multimedia/gpac/libpng-infopp-null.patch
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-07-06 01:15:25 -0400
committerErik Hanson <erik@slackbuilds.org>2010-07-06 02:33:55 -0500
commitffd55fee8e806f847e2cecda8ebed48762018b4b (patch)
treec5b3f786bec97cddf7873dd6a7b7205757d6217d /multimedia/gpac/libpng-infopp-null.patch
parentf5c7af1d6033dcbf70d83805303d8ce974f1b8f2 (diff)
downloadslackbuilds-ffd55fee8e806f847e2cecda8ebed48762018b4b.tar.gz
multimedia/gpac: Added (multimedia framework)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/gpac/libpng-infopp-null.patch')
-rw-r--r--multimedia/gpac/libpng-infopp-null.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/gpac/libpng-infopp-null.patch b/multimedia/gpac/libpng-infopp-null.patch
new file mode 100644
index 0000000000..58205fd769
--- /dev/null
+++ b/multimedia/gpac/libpng-infopp-null.patch
@@ -0,0 +1,11 @@
+--- 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;
+ }
+