Original Commit: r52 | ods15 | 2006-09-23 17:38:43 +0300 (Sat, 23 Sep 2006) | 2 lines

correct rangebits for floor

Originally committed as revision 6459 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Oded Shimon 2006-10-02 06:07:34 +00:00
parent 4fb432e743
commit 36e09a5144

View File

@ -299,7 +299,7 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
for (j = 0; j < books; j++) c->books[j] = 0;
}
fc->multiplier = 1;
fc->rangebits = venc->blocksize[0];
fc->rangebits = venc->blocksize[0] - 1;
fc->values = 2;
for (i = 0; i < fc->partitions; i++)