From 36e09a514434802ef924930f3fe3dbaee03793f2 Mon Sep 17 00:00:00 2001 From: Oded Shimon Date: Mon, 2 Oct 2006 06:07:34 +0000 Subject: [PATCH] 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 --- libavcodec/vorbis_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index a466519c68..fc3abf27ff 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -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++)