Fix image read

This commit is contained in:
Henrique Santiago 2017-04-27 18:47:08 -03:00 committed by GitHub
parent 42df56a98d
commit 8871659b07
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void read_paeth_row(unsigned char * row, unsigned char * prev_row, unsigned int
}
}
void unpack(z_stream zstream, unsigned char * dst, unsigned int dst_size, unsigned char * src, unsigned int src_size, unsigned int h, unsigned int rowbytes, unsigned char bpp)
void unpack(z_stream& zstream, unsigned char * dst, unsigned int dst_size, unsigned char * src, unsigned int src_size, unsigned int h, unsigned int rowbytes, unsigned char bpp)
{
unsigned int j;
unsigned char * row = dst;