# HG changeset patch # User ods15 # Date 1159768592 0 # Node ID 59f260f0f5bb091edc5f331f66e04f0cfe8cca6e # Parent bffe869bc19c59019a0e25ce60b89b4c8e40fc98 Original Commit: r42 | ods15 | 2006-09-23 10:53:16 +0300 (Sat, 23 Sep 2006) | 2 lines fix for residue end diff -r bffe869bc19c -r 59f260f0f5bb vorbis_enc.c --- 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;