changeset 3854:8de41fcc6500 libavcodec

Original Commit: r52 | ods15 | 2006-09-23 17:38:43 +0300 (Sat, 23 Sep 2006) | 2 lines correct rangebits for floor
author ods15
date Mon, 02 Oct 2006 06:07:34 +0000
parents 30e824ef9e03
children d692105e5a58
files vorbis_enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis_enc.c	Mon Oct 02 06:07:32 2006 +0000
+++ b/vorbis_enc.c	Mon Oct 02 06:07:34 2006 +0000
@@ -299,7 +299,7 @@
         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++)