Hi, everyone!
I have a question about CMEM!
In the file cmem.c, there is a function:CMEM_alloc. It can allocate the memory depends on params->type.
In the file app.c:
I can find that the important function is encodeDecodeFile to allocate the memeory in main.
Why don't we use the CMEM_alloc in app.c instead of using a new function??
And is there any differences between them?