summaryrefslogtreecommitdiff
path: root/lib/synthesis.c
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-02-12 08:33:10 +0000
committerMonty <xiphmont@xiph.org>2000-02-12 08:33:10 +0000
commit69c07b4904ace8a29154e6da0fcf4fea3f409f8a (patch)
tree2d27d587680a1db071869d700d02ddf553856760 /lib/synthesis.c
parent1487aec2e3af5f9d8e502f1ad5e3418fe4d47e59 (diff)
downloadlibvorbis-git-69c07b4904ace8a29154e6da0fcf4fea3f409f8a.tar.gz
Collect training data from the lib when compiled with -DTRAIN
Added staging to floor0.c Added first work toward residue partitioning and huff builder Monty x svn path=/trunk/vorbis/; revision=257
Diffstat (limited to 'lib/synthesis.c')
-rw-r--r--lib/synthesis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/synthesis.c b/lib/synthesis.c
index 3947f23c..031d6cd4 100644
--- a/lib/synthesis.c
+++ b/lib/synthesis.c
@@ -12,7 +12,7 @@
********************************************************************
function: single-block PCM synthesis
- last mod: $Id: synthesis.c,v 1.14 2000/01/22 13:28:33 xiphmont Exp $
+ last mod: $Id: synthesis.c,v 1.15 2000/02/12 08:33:10 xiphmont Exp $
********************************************************************/
@@ -40,6 +40,7 @@ int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
/* read our mode and pre/post windowsize */
mode=_oggpack_read(opb,vd->modebits);
+ vb->mode=mode;
vb->W=vi->mode_param[mode]->blockflag;
if(vb->W){
vb->lW=_oggpack_read(opb,1);