mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
oops, fix bug with error_scale
This commit is contained in:
@@ -289,8 +289,7 @@ real FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(real l
|
|||||||
unsigned FLAC__lpc_compute_best_order(const real lpc_error[], unsigned max_order, unsigned total_samples, unsigned bits_per_signal_sample)
|
unsigned FLAC__lpc_compute_best_order(const real lpc_error[], unsigned max_order, unsigned total_samples, unsigned bits_per_signal_sample)
|
||||||
{
|
{
|
||||||
unsigned order, best_order;
|
unsigned order, best_order;
|
||||||
real best_bits, tmp_bits;
|
real best_bits, tmp_bits, error_scale;
|
||||||
const error_scale;
|
|
||||||
|
|
||||||
assert(max_order > 0);
|
assert(max_order > 0);
|
||||||
assert(total_samples > 0);
|
assert(total_samples > 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user