Commit 36e09a51 authored by Oded Shimon's avatar Oded Shimon

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
parent 4fb432e7
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment