diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2001-07-18 23:47:19 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2001-07-18 23:47:19 +0000 |
commit | d3ed49fb92b6fd72c893a40b9751663dce30eab6 (patch) | |
tree | 681b74188a407b44f7fa92fc1ea57a95d2043a7f /src/libFLAC | |
parent | f207c2bea3c946c4351fd7c93527ae276942d590 (diff) | |
download | flac-d3ed49fb92b6fd72c893a40b9751663dce30eab6.tar.gz |
fix another possible bug in the quantizer
Diffstat (limited to 'src/libFLAC')
-rw-r--r-- | src/libFLAC/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libFLAC/lpc.c b/src/libFLAC/lpc.c index f588330c..28e82bc2 100644 --- a/src/libFLAC/lpc.c +++ b/src/libFLAC/lpc.c @@ -140,7 +140,7 @@ int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, cmax = d; } redo_it: - if(cmax < 0.0) { + if(cmax <= 0.0) { /* => coefficients are all 0, which means our constant-detect didn't work */ return 2; } |