Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
d3ed49fb
Commit
d3ed49fb
authored
Jul 18, 2001
by
Josh Coalson
Browse files
fix another possible bug in the quantizer
parent
f207c2be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libFLAC/lpc.c
View file @
d3ed49fb
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment