summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/gpac/libpng14-infopp-null.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-08-03 20:51:18 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-08-03 20:51:18 (GMT)
commitedb5eaa42980f66e1c660d570d645d661c9072a4 (patch)
treee4447933fd5fb48d5ebf740b36d9575461ab1a1c /abs/extra/community/gpac/libpng14-infopp-null.patch
parent1b9e65f20bdc2e7445a016865c2542ebe7e74eff (diff)
downloadlinhes_pkgbuild-edb5eaa42980f66e1c660d570d645d661c9072a4.zip
linhes_pkgbuild-edb5eaa42980f66e1c660d570d645d661c9072a4.tar.gz
linhes_pkgbuild-edb5eaa42980f66e1c660d570d645d661c9072a4.tar.bz2
gpac: Re-introduction after a hiatus. Used by some ipod transcode scipts.
Diffstat (limited to 'abs/extra/community/gpac/libpng14-infopp-null.patch')
-rw-r--r--abs/extra/community/gpac/libpng14-infopp-null.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/community/gpac/libpng14-infopp-null.patch b/abs/extra/community/gpac/libpng14-infopp-null.patch
new file mode 100644
index 0000000..b024565
--- /dev/null
+++ b/abs/extra/community/gpac/libpng14-infopp-null.patch
@@ -0,0 +1,12 @@
+diff -upr gpac.orig/src/media_tools/img.c gpac/src/media_tools/img.c
+--- gpac.orig/src/media_tools/img.c 2010-01-24 19:03:28.000000000 +0200
++++ gpac/src/media_tools/img.c 2010-01-24 19:04:07.000000000 +0200
+@@ -551,7 +551,7 @@ GF_Err gf_img_png_enc(char *data, u32 wi
+ /* 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;
+ }
+