summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches/patch-ab
blob: 4397e7585adfa0d6f3d163a3849d2b3e8c0f22a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.5 2010/06/13 22:45:07 wiz Exp $

--- modules/codec/png.c.orig	2010-03-07 18:38:01.000000000 +0000
+++ modules/codec/png.c
@@ -155,7 +155,7 @@ static picture_t *DecodeBlock( decoder_t
     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 @@ static picture_t *DecodeBlock( decoder_t
     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;
     }