MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / inflate

Function inflate

src/lodepng.cpp:1263–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1261}
1262
1263static unsigned inflate(unsigned char** out, size_t* outsize,
1264 const unsigned char* in, size_t insize,
1265 const LodePNGDecompressSettings* settings)
1266{
1267 if(settings->custom_inflate)
1268 {
1269 return settings->custom_inflate(out, outsize, in, insize, settings);
1270 }
1271 else
1272 {
1273 return lodepng_inflate(out, outsize, in, insize, settings);
1274 }
1275}
1276
1277#endif /*LODEPNG_COMPILE_DECODER*/
1278

Callers 1

lodepng_zlib_decompressFunction · 0.85

Calls 1

lodepng_inflateFunction · 0.85

Tested by

no test coverage detected