Mercurial > libavcodec.hg
changeset 3846:afbeb215e56f libavcodec
Original Commit: r43 | ods15 | 2006-09-23 10:53:46 +0300 (Sat, 23 Sep 2006) | 2 lines
change residue codebook dimentions
author | ods15 |
---|---|
date | Mon, 02 Oct 2006 05:56:35 +0000 |
parents | 59f260f0f5bb |
children | 9cf71c2ff770 |
files | vorbis_enc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vorbis_enc.c Mon Oct 02 05:56:32 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 05:56:35 2006 +0000 @@ -243,12 +243,12 @@ cb->quantlist = NULL; ready_codebook(cb); - // codebook 1 - residue classbook, values 0..1, dimentions 200 + // codebook 1 - residue classbook, values 0..1, dimentions 4 cb = &venc->codebooks[1]; cb->nentries = 2; cb->entries = av_malloc(sizeof(cb_entry_t) * cb->nentries); for (i = 0; i < cb->nentries; i++) cb->entries[i].len = 1; - cb->ndimentions = 200; + cb->ndimentions = 4; cb->min = 0.; cb->delta = 0.; cb->seq_p = 0;