aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-10-02 05:56:35 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-10-02 05:56:35 +0000
commit19b00cf16e286f8e8d86051ab008b3385d28f8e7 (patch)
tree5c6f454e7960a69133f72f6a5b127a3f6851973a /libavcodec
parent4317306f34b18fe405ed2bde36c6d2dc06c07f5d (diff)
downloadffmpeg-19b00cf16e286f8e8d86051ab008b3385d28f8e7.tar.gz
Original Commit: r43 | ods15 | 2006-09-23 10:53:46 +0300 (Sat, 23 Sep 2006) | 2 lines
change residue codebook dimentions Originally committed as revision 6451 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vorbis_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c
index 9ace0dc149..bc4bef24f1 100644
--- a/libavcodec/vorbis_enc.c
+++ b/libavcodec/vorbis_enc.c
@@ -243,12 +243,12 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
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;