# HG changeset patch # User ods15 # Date 1159768581 0 # Node ID bb414feb6a0ddd9374cac8281c0b51b456db914b # Parent c5ec6d7710ba398a768567653a1b0718b08c4b75 Original Commit: r37 | ods15 | 2006-09-23 08:43:43 +0300 (Sat, 23 Sep 2006) | 2 lines cosmetic diff -r c5ec6d7710ba -r bb414feb6a0d vorbis_enc.c --- 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;