lavf: add missing build dependency for tta demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
jpeg2000: Initialize only once mqc arrays

Increases encoding and decoding speed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>