summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-02-07 19:49:56 +0000
committerMonty <xiphmont@xiph.org>2000-02-07 19:49:56 +0000
commitca473043b56240e5fa0534b87e224d3e8deb9584 (patch)
tree703ad17afd2fdb12d653c76cb8b61bc259f36ec8
parentde677181b6d9a1a67cc98ababd82bea65f3615e8 (diff)
downloadlibvorbis-git-ca473043b56240e5fa0534b87e224d3e8deb9584.tar.gz
...and correct a typo
svn path=/trunk/vorbis/; revision=253
-rw-r--r--vq/build.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vq/build.c b/vq/build.c
index f1918133..5e074e55 100644
--- a/vq/build.c
+++ b/vq/build.c
@@ -12,7 +12,7 @@
********************************************************************
function: utility main for building codebooks from training sets
- last mod: $Id: build.c,v 1.10 2000/02/07 19:39:45 xiphmont Exp $
+ last mod: $Id: build.c,v 1.11 2000/02/07 19:49:56 xiphmont Exp $
********************************************************************/
@@ -253,7 +253,7 @@ int main(int argc,char *argv[]){
for(j=0;j<c.encode_tree->aux;){
fprintf(out,"\t");
for(k=0;k<8 && j<c.encode_tree->aux;k++,j++)
- fprintf(out,"%6ld,",c.encode_tree->p[j]*c.elements);
+ fprintf(out,"%6ld,",c.encode_tree->p[j]*c.dim);
fprintf(out,"\n");
}
fprintf(out,"};\n\n");
@@ -263,7 +263,7 @@ int main(int argc,char *argv[]){
for(j=0;j<c.encode_tree->aux;){
fprintf(out,"\t");
for(k=0;k<8 && j<c.encode_tree->aux;k++,j++)
- fprintf(out,"%6ld,",c.encode_tree->q[j]*c.elements);
+ fprintf(out,"%6ld,",c.encode_tree->q[j]*c.dim);
fprintf(out,"\n");
}
fprintf(out,"};\n\n");