From 56d061ce9da954560892e3551513d5ecc0439846 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 18 Nov 2013 12:07:14 +0100 Subject: metasound: add last missing modes (8kHz @ 6kbps per channel) Signed-off-by: Anton Khirnov --- libavcodec/twinvqdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/twinvqdec.c') diff --git a/libavcodec/twinvqdec.c b/libavcodec/twinvqdec.c index 6f4decb939..65028a6640 100644 --- a/libavcodec/twinvqdec.c +++ b/libavcodec/twinvqdec.c @@ -402,6 +402,7 @@ static av_cold int twinvq_decode_init(AVCodecContext *avctx) tctx->decode_ppc = decode_ppc; tctx->frame_size = avctx->bit_rate * tctx->mtab->size / avctx->sample_rate + 8; + tctx->is_6kbps = 0; if (avctx->block_align && avctx->block_align * 8 / tctx->frame_size > 1) { av_log(avctx, AV_LOG_ERROR, "VQF TwinVQ should have only one frame per packet\n"); -- cgit v1.2.3