Simplified some compressed image parsing code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-08-30 22:25:26 -03:00
parent 907630b04c
commit a41f78dfe4
26 changed files with 101 additions and 161 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ FormatHandler::EncodedImage PNGHandler::encode(const DecodedImage &img, EncodedF
return encimg;
}
void PNGHandler::free(unsigned char *mem)
void PNGHandler::freeRawPixels(unsigned char *mem)
{
// LodePNG uses malloc, realloc, and free.
if (mem)