Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
It is used by the ADX decoder, and therefore needs to be exported in order to work with shared libs.
This simplifies the decoder so it doesn't have to process an in-packet header or handle arbitrary-sized packets. It also fixes decoding of files with large headers.