changeset 3840:bb414feb6a0d libavcodec

Original Commit: r37 | ods15 | 2006-09-23 08:43:43 +0300 (Sat, 23 Sep 2006) | 2 lines cosmetic
author ods15
date Mon, 02 Oct 2006 05:56:21 +0000
parents c5ec6d7710ba
children 6591b55f6482
files vorbis_enc.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis_enc.c	Mon Oct 02 05:56:18 2006 +0000
+++ b/vorbis_enc.c	Mon Oct 02 05:56:21 2006 +0000
@@ -218,7 +218,7 @@
     venc->ncodebooks = 10;
     venc->codebooks = av_malloc(sizeof(codebook_t) * venc->ncodebooks);
 
-    // codebook 1 - floor1 book, values 0..255
+    // codebook 0 - floor1 book, values 0..255
     cb = &venc->codebooks[0];
     cb->nentries = 256;
     cb->entries = av_malloc(sizeof(cb_entry_t) * cb->nentries);
@@ -231,7 +231,7 @@
     cb->quantlist = NULL;
     ready_codebook(cb);
 
-    // codebook 2 - residue classbook, values 0..1, dimentions 200
+    // codebook 1 - residue classbook, values 0..1, dimentions 200
     cb = &venc->codebooks[1];
     cb->nentries = 2;
     cb->entries = av_malloc(sizeof(cb_entry_t) * cb->nentries);
@@ -244,7 +244,7 @@
     cb->quantlist = NULL;
     ready_codebook(cb);
 
-    // codebook 3..10 - vector, for the residue, values -32767..32767, dimentions 1
+    // codebook 2..9 - vector, for the residue, values -32767..32767, dimentions 1
     for (book = 0; book < 8; book++) {
         cb = &venc->codebooks[2 + book];
         cb->nentries = 5;