arm: Add a missing endfunc macro call

Signed-off-by: Martin Storsjö <martin@martin.st>
arm: Use the matching endfunc macro instead of the assembler directive directly

Signed-off-by: Martin Storsjö <martin@martin.st>
fate: Add a downsampled SBR testvector
aac: Fix TNS decoding for the 512 sample window family.
fate: Add a test vector for AAC ELD with TNS.
aac: Fix low delay windowing.

AAC LD uses a low overlap sine window instead of a KBD window.
fate: Update AAC ELD 5.1 ref for recent bugfixes.
sdp: Check that fmt->oformat is non-null before accessing it

This avoids crashes when avserver tries to create an SDP, since
d77f4af.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
configure: Support preprocessor macros as header names

New versions of FreeType have moved the location of their API
header(s) and hide the location behind a macro.

Since the location changes between versions and no other way
to know the location exists, this workaround becomes necessary.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
lavu: Add values for various Dolby flags to the AVMatrixEncoding enum.
avframe: add AV_FRAME_DATA_MATRIXENCODING side data type.

Includes a libavcodec utility function to update a frame's side data.
dcadec: set the output channel mode more accurately.

When downmixing 2.1 to 2-channel, if the 2.0 portion is Lt/Rt, sum-difference or dual mono, the actual output will be the same (with the LFE either mixed-in or discarded).

Also, when downmixing an arbitrary layout to 2-channel, if the bitstream contains custom downmix coefficients targeting Lt/Rt, then the output will be Lt/Rt rather than regular Stereo.
dcadec: set AV_FRAME_DATA_MATRIXENCODING side data.
mlp: Parse TrueHD decoder channel modifiers and set the AVMatrixEncoding for each substream.
mlpdec: set AV_FRAME_DATA_MATRIXENCODING side data.
(e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode flags.
(e)ac3dec: set AV_FRAME_DATA_MATRIXENCODING side data.