@ -41,7 +41,7 @@ qboolean Image_LoadPNG( const char *name, const byte *buffer, fs_offset_t filesi
int ret ;
int ret ;
short p , a , b , c , pa , pb , pc ;
short p , a , b , c , pa , pb , pc ;
byte * buf_p , * pixbuf , * raw , * prior , * idat_buf = NULL , * uncompressed_buffer = NULL , * rowend ;
byte * buf_p , * pixbuf , * raw , * prior , * idat_buf = NULL , * uncompressed_buffer = NULL , * rowend ;
uint chunk_len , crc32 , crc32_check , oldsize = 0 , newsize , rowsize ;
uint chunk_len , crc32 , crc32_check , oldsize = 0 , newsize = 0 , rowsize ;
uint uncompressed_size , pixel_size , i , y , filter_type , chunk_sign ;
uint uncompressed_size , pixel_size , i , y , filter_type , chunk_sign ;
qboolean has_iend_chunk = false ;
qboolean has_iend_chunk = false ;
z_stream stream = { 0 } ;
z_stream stream = { 0 } ;