shithub: opus

Download patch

ref: 948d27c9bcf48e019e843766f9009f4f38386207
parent: 713d7a4ce99abd7db50ee3b0af0ba8316a353ca3
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Mon Jan 31 07:28:12 EST 2011

Propagate balance from compute_allocation() to quant_all_bands().

Instead of just dumping excess bits into the first band after
 allocation, use them to initialize the rebalancing loop in
 quant_all_bands().
This allows these bits to be redistributed over several bands, like
 normal.