diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2013-08-05 12:55:30 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2013-08-08 10:52:44 +0200 |
commit | 3e5898782dce60334ab294821ca00b19c648cf66 (patch) | |
tree | a5db4c367d79ea6bd542ddd5f1cfd48fd6647cd1 /libavcodec/twinvq.c | |
parent | 5afe1d27912be9b643ffb4ddc21f6d920260dbb0 (diff) | |
download | ffmpeg-3e5898782dce60334ab294821ca00b19c648cf66.tar.gz |
Voxware MetaSound decoder
Diffstat (limited to 'libavcodec/twinvq.c')
-rw-r--r-- | libavcodec/twinvq.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |