summaryrefslogtreecommitdiff
path: root/libavcodec/twinvqdec.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2013-11-18 12:07:14 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-26 08:29:42 +0100
commit56d061ce9da954560892e3551513d5ecc0439846 (patch)
tree997058b72819c43a81c3d9289699fa9cb1ab31e5 /libavcodec/twinvqdec.c
parentde44dfc7c0ec02bda7d846ef713145c890bfae3f (diff)
downloadffmpeg-56d061ce9da954560892e3551513d5ecc0439846.tar.gz
metasound: add last missing modes (8kHz @ 6kbps per channel)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/twinvqdec.c')
-rw-r--r--libavcodec/twinvqdec.c1
1 files changed, 1 insertions, 0 deletions
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");