[CELT-dev] memory violation in mode_create() -- SOLVED.
celt at platax.de
Fri Dec 3 08:27:07 PST 2010
the memory after the allocated space is definitely destroyed. It took me some
time to find out why. I expected local arrays to be allocated on stack, not on
the heap. The function get_required_bits allocates a local array uint32 which
will be located on heap right after the array fromcompute_pulse_cache(), what
made me think it was written behind its end.
I am sorry for the panic !
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the celt-dev