[CELT-dev] user defined allocator and thread safe

Jean-Marc Valin jmvalin at gmail.com
Thu Oct 14 17:11:38 PDT 2010

On 10-10-14 07:23 PM, Pascal Pochol wrote:
> We're using libcelt in a multi-threaded application and it would be great
> to have these two things:
>  - a user defined allocator so we can use our own version of malloc and free
>    without having to hack at the sources.

The git version allows you to do exactly that. There's now an _init()
call where you can provide the block of memory yourself.

>  - if it was thread safe in general.

Why not use alloca() or C-99 variable-length arrays?


More information about the celt-dev mailing list