I've tried to implement the current version of lodepng into an embedded system.
I have a question.
In the "inflateHuffmanBlock" function, it resizes the memory size with reference to the "reserved_size (260)" value.
Therefore, I believe it would be better to allocate "reserved_size" extra memory in the "zlib_decompress" function.
Would this pose any problems?
Hello,
I've tried to implement the current version of lodepng into an embedded system. I have a question.
In the "inflateHuffmanBlock" function, it resizes the memory size with reference to the "reserved_size (260)" value. Therefore, I believe it would be better to allocate "reserved_size" extra memory in the "zlib_decompress" function. Would this pose any problems?
I would appreciate it if you could reply.