From 3e5898782dce60334ab294821ca00b19c648cf66 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 5 Aug 2013 12:55:30 +0200 Subject: Voxware MetaSound decoder --- libavcodec/twinvq.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/twinvq.c') diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 94cc9da735..17dea79ed7 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -688,6 +688,11 @@ static av_cold void init_bitstream_params(TwinVQContext *tctx) TWINVQ_WINDOW_TYPE_BITS + mtab->fmode[i].sub * (bse_bits[i] + n_ch * TWINVQ_SUB_GAIN_BITS); + if (tctx->codec == TWINVQ_CODEC_METASOUND) { + bsize_no_main_cb[1] += 2; + bsize_no_main_cb[2] += 2; + } + // The remaining bits are all used for the main spectrum coefficients for (i = 0; i < 4; i++) { int bit_size, vect_size; -- cgit v1.2.3