mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
#ifdef DEBUG some printouts
This commit is contained in:
@@ -171,7 +171,9 @@ redo_it:
|
|||||||
}
|
}
|
||||||
else { /* (*shift < 0) */
|
else { /* (*shift < 0) */
|
||||||
const int nshift = -(*shift);
|
const int nshift = -(*shift);
|
||||||
|
#ifdef DEBUG
|
||||||
fprintf(stderr,"FLAC__lpc_quantize_coefficients: negative shift = %d\n", *shift);
|
fprintf(stderr,"FLAC__lpc_quantize_coefficients: negative shift = %d\n", *shift);
|
||||||
|
#endif
|
||||||
for(i = 0; i < order; i++) {
|
for(i = 0; i < order; i++) {
|
||||||
qlp_coeff[i] = (FLAC__int32)floor((double)lp_coeff[i] / (double)(1 << nshift));
|
qlp_coeff[i] = (FLAC__int32)floor((double)lp_coeff[i] / (double)(1 << nshift));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user