1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Original Commit: r37 | ods15 | 2006-09-23 08:43:43 +0300 (Sat, 23 Sep 2006) | 2 lines

cosmetic

Originally committed as revision 6445 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Oded Shimon 2006-10-02 05:56:21 +00:00
parent b9b040236e
commit 1b34d5737d

View File

@ -218,7 +218,7 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
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 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
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 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
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;