diff options
author | Monty <xiphmont@xiph.org> | 2000-02-07 19:49:56 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-02-07 19:49:56 +0000 |
commit | ca473043b56240e5fa0534b87e224d3e8deb9584 (patch) | |
tree | 703ad17afd2fdb12d653c76cb8b61bc259f36ec8 | |
parent | de677181b6d9a1a67cc98ababd82bea65f3615e8 (diff) | |
download | libvorbis-git-ca473043b56240e5fa0534b87e224d3e8deb9584.tar.gz |
...and correct a typo
svn path=/trunk/vorbis/; revision=253
-rw-r--r-- | vq/build.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); |