[Ffmpeg-cvslog] r6427 - trunk/libavcodec/vorbis_enc.c

ods15 subversion
Mon Oct 2 07:55:41 CEST 2006


Author: ods15
Date: Mon Oct  2 07:55:41 2006
New Revision: 6427

Modified:
   trunk/libavcodec/vorbis_enc.c

Log:
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

Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c	(original)
+++ trunk/libavcodec/vorbis_enc.c	Mon Oct  2 07:55:41 2006
@@ -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;




More information about the ffmpeg-cvslog mailing list