changeset 3822:a7f46bc1fea0 libavcodec

Original Commit: r16 | ods15 | 2006-09-22 12:27:17 +0300 (Fri, 22 Sep 2006) | 2 lines minimum size for a huffman table is 2 entries, 1bit
author ods15
date Mon, 02 Oct 2006 05:55:41 +0000
parents 5fdb0fa900cd
children 41ad23b61a2c
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:55:39 2006 +0000
+++ b/vorbis_enc.c	Mon Oct 02 05:55:41 2006 +0000
@@ -186,9 +186,9 @@
     cb->quantlist = NULL;
     ready_codebook(cb);
 
-    // codebook 2 - residue classbook, values 0..0, dimentions 200
+    // codebook 2 - residue classbook, values 0..1, dimentions 200
     cb = &venc->codebooks[1];
-    cb->nentries = 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;