configure: remove some unused HAVE_*_H macros
trascode: reinit audio filters if audio format changes in midstream
faad: try to guess channel count if we can, and don't set it to 0 in Open

Ref #9200
avcodec: use context->channels in audio encoding

Input and output channel count should be anyway the same and it's
hopefully littlebit clearer than fmt_in and fmt_out mixups.
avcodec: use correct buffer size in fill_audio_frame
aout: avoid genmf
aout: remove Makefile recursion
sd: avoid genmf
sd: remove recursion
pulse: move helper library back to audio_outout/
access_output_udp: avoid genmf
lua: avoid genmf
misc: avoid genmf in some simple cases

Also do not hard-code -lm for the fingerprinter.
projectM: avoid genmf

Also do not define unused PROJECTM2_(CFLAGS|LIBS) substitutions.
modules: link to pthread only when needed
Update MODULES_LIST
Fix typo
Fix configure
mediacodec: Don't return frames before the output format is set

The decoder on Sony Xperia Z1 seems to return one frame before
the output format is set (and calling getOutputFormat() at this
point throws an IllegalStateException). Therefore just drop any
frames that are returned before the output format has been set.

Signed-off-by: Martin Storsjö <martin@martin.st>
omxil: Add a new qualcomm specific custom pixel format

This is pretty much normal NV12, but with stride and plane
heights aligned to 32 (according to a commit on code aurora
forum). The actual values are signalled in the normal stride
and slice height fields, so therefore it can be treated as
normal NV12 as far as our code is concerned.

This is returned on the Sony Xperia Z1 (Snapdragon 800) -
mediacodec works (with a quirk mentioned in the previous commit),
while our omxil/iomx code fails to allocate buffers.

Signed-off-by: Martin Storsjö <martin@martin.st>