Patch from Bruce:
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 1 Oct 2010 00:46:46 +0000 (00:46 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 1 Oct 2010 00:46:46 +0000 (00:46 +0000)
commit552bc307bdd88993435e5779c7df1869f4eb6efc
treec9e03281d997d550f01d470142bd56759932f3f8
parent1bc39234951f5812778416d05b482022ac206edf
Patch from Bruce:

Generate const C tables for LSP codebook at compile time.
Replace mallocs with stack arrays.
ANSI C90 compatibility.
Conditional compile DUMP, give embedded systems a space break.
Conditional-define out unused VQ functions.
Initialize variables that are first passed by address with no
initialization, to keep the compiler from complaining.
Set GCC pedantic flag, we need to be that portable.
Get rid of any BSS or DATA segment data, there were a few unused static
variables. All compile-time initialized data is read-only and in the
text segment now.

git-svn-id: https://svn.code.sf.net/p/freetel/code@196 01035d8c-6547-0410-b346-abe4f91aad63
14 files changed:
codec2/src/Makefile
codec2/src/c2dec.c
codec2/src/c2enc.c
codec2/src/c2sim.c
codec2/src/defines.h
codec2/src/dump.c
codec2/src/lsp.c
codec2/src/nlp.c
codec2/src/pack.c
codec2/src/postfilter.c
codec2/src/quantise.c
codec2/src/quantise.h
codec2/unittest/Makefile
codec2/unittest/tnlp.c