Revert "smackaud: clip output samples"

Smacker audio uses overflows instead of clipping.

This reverts commit 375ca0aca81be2951d9ba4731196e70e490d3cdf.
smacker: fix off-by-one error in palette expanding code
matroskadec: silently skip CodecState element.

mkvmerge apparrently uses it for mpeg1/2 video, but it contains the same
information as CodecPrivate, so it can be ignored.
avconv: make -aspect work with streamcopy
configure: make jack depend on pthreads
jpeg2000: merge mant type from j2k

mant fits in 16bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: dont forget passing lowres to private options

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2k/jpeg2000: merge lowres code

This also fixes lowres use with ffplay

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2kdec: merge get_tlm() from jpeg2000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2kdec: random non functional changed from jpeg2000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2kenc: Zero DWT struct on allocation

Should fix fate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
smacker: add a clarification notice about audio decoding
Merge commit '5f30c6c8ed1f006c1b3a547dfe388f3a4a080e4d'

Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavf: preserve side data when parsing packets.
wavpack: remove the subframes codec cap

The decoder always consumes full packets.
wavpack: drop redundant if/else blocks
wavpack: switch to planar output

This simplifies the code and makes it faster.
wavpack: return 0 instead of samples count from decoding functions

The caller never cares about the number of decoded samples, so this only
confuses the reader.
wavpack: add an error message to a failure.
wavpack: remove a useless check.

Number of samples in the first block is checked to be strictly positive
earlier in wavpack_decode_frame() and number of samples in all the other
blocks is checked to be equal to the first one.