diff vorbis_enc.c @ 3845:59f260f0f5bb libavcodec

Original Commit: r42 | ods15 | 2006-09-23 10:53:16 +0300 (Sat, 23 Sep 2006) | 2 lines fix for residue end
author ods15
date Mon, 02 Oct 2006 05:56:32 +0000
parents bffe869bc19c
children afbeb215e56f
line wrap: on
line diff
--- a/vorbis_enc.c	Mon Oct 02 05:56:30 2006 +0000
+++ b/vorbis_enc.c	Mon Oct 02 05:56:32 2006 +0000
@@ -311,7 +311,7 @@
     rc = &venc->residues[0];
     rc->type = 0;
     rc->begin = 0;
-    rc->end = 1 << venc->blocksize[0];
+    rc->end = 1 << (venc->blocksize[0] - 1);
     rc->partition_size = 64;
     rc->classifications = 1;
     rc->classbook = 1;