aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-10-02 05:56:21 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-10-02 05:56:21 +0000
commit1b34d5737d16c31586c3c301889a58a3a5a7f8ec (patch)
treec256c50757005df09532e94d114baf8c4c39108a /libavcodec
parentb9b040236e7c2f6f5e218fabcceea9f37d169894 (diff)
downloadffmpeg-1b34d5737d16c31586c3c301889a58a3a5a7f8ec.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vorbis_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c
index aefc0935ef..c92176d876 100644
--- a/libavcodec/vorbis_enc.c
+++ b/libavcodec/vorbis_enc.c
@@ -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;