diff options
Diffstat (limited to 'media-video/gpac/files/gpac-0.4.5-libpng14.patch')
-rw-r--r-- | media-video/gpac/files/gpac-0.4.5-libpng14.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-video/gpac/files/gpac-0.4.5-libpng14.patch b/media-video/gpac/files/gpac-0.4.5-libpng14.patch new file mode 100644 index 000000000000..4a6748160d68 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.5-libpng14.patch @@ -0,0 +1,13 @@ +http://repos.archlinux.org/wsvn/community/gpac/trunk/libpng14-infopp-null.patch + +--- src/media_tools/img.c ++++ src/media_tools/img.c +@@ -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; + } + |