audio frame multi-threaded decoding

Signed-off-by: Paul B Mahol <onemda@gmail.com>
takdec: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
flacdec: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
ttadec: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
wavpack: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
alac: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
get_qcc: Check compno

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>