fft-test: Check memory allocations
fft-test: K&R formatting cosmetics

Also rearrange #includes into canonical order.
fft-test: Pass correct struct members to (i)dct functions

This fixes a number of incompatible pointer type warnings.
http: K&R formatting cosmetics

Also comment some #endifs and reshuffle headers into canonical order.
mpegenccontext: Remove unused opaque pointer

Signed-off-by: Diego Biurrun <diego@biurrun.de>
disable -rpath-link on Solaris

The Solaris -rpath linker option parser is greedy.
build: add Solaris symbol versioning

The Solaris linker does not support globs in linker scripts for
symbol versioning (this is a GNU extension). Let's instead borrow
make_sunver.pl from GCC to make a description file that works
with the Solaris linker.