From 94596c602412c3b1a1a739dc0da445b891d941e5 Mon Sep 17 00:00:00 2001 From: ankry Date: Tue, 16 Feb 2010 14:17:56 +0000 Subject: [PATCH] - fixes for newer libpng Changed files: cinelerra-cv-libpng.patch -> 1.1 --- cinelerra-cv-libpng.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cinelerra-cv-libpng.patch diff --git a/cinelerra-cv-libpng.patch b/cinelerra-cv-libpng.patch new file mode 100644 index 0000000..f9b4dfd --- /dev/null +++ b/cinelerra-cv-libpng.patch @@ -0,0 +1,28 @@ +--- cinelerra-cv/plugins/shapewipe/shapewipe.C~ 2010-01-09 15:12:21.000000000 +0100 ++++ cinelerra-cv/plugins/shapewipe/shapewipe.C 2010-02-16 15:03:37.044711032 +0100 +@@ -386,7 +386,7 @@ + } + + png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, +- png_voidp_NULL, png_error_ptr_NULL, png_error_ptr_NULL); ++ NULL, NULL, NULL); + + if (!png_ptr) + { +@@ -399,14 +399,14 @@ + info_ptr = png_create_info_struct(png_ptr); + if (!info_ptr) + { +- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, NULL, NULL); + return 1; + } + + end_info = png_create_info_struct(png_ptr); + if (!end_info) + { +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return 1; + } + -- 2.43.0