summaryrefslogtreecommitdiffstats
path: root/extra/vlc/libpng-1.4.patch
blob: b0dba074605bf1c8df5430a79195a2b20ed1546f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- vlc-1.0.4/modules/codec/png.c~	2010-01-19 02:31:45.575326077 +0100
+++ vlc-1.0.4/modules/codec/png.c	2010-01-19 02:32:21.465321175 +0100
@@ -155,7 +155,7 @@
     p_info = png_create_info_struct( p_png );
     if( p_info == NULL )
     {
-        png_destroy_read_struct( &p_png, png_infopp_NULL, png_infopp_NULL );
+        png_destroy_read_struct( &p_png, NULL, NULL );
         block_Release( p_block ); *pp_block = NULL;
         return NULL;
     }
@@ -163,7 +163,7 @@
     p_end_info = png_create_info_struct( p_png );
     if( p_end_info == NULL )
     {
-        png_destroy_read_struct( &p_png, &p_info, png_infopp_NULL );
+        png_destroy_read_struct( &p_png, &p_info, NULL );
         block_Release( p_block ); *pp_block = NULL;
         return NULL;
     }