summaryrefslogtreecommitdiff
path: root/src/libFLAC/lpc.c
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2007-02-03 02:53:29 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2007-02-03 02:53:29 +0000
commit67e5d6d41b0e22e622d803daca5beb6b991cdc0f (patch)
tree3deb9518e04b7b9611f19dab4039b1ffb985d016 /src/libFLAC/lpc.c
parent469ba7499671fbfea699b490c74a7856ea931073 (diff)
downloadflac-67e5d6d41b0e22e622d803daca5beb6b991cdc0f.tar.gz
minor syntax
Diffstat (limited to 'src/libFLAC/lpc.c')
-rw-r--r--src/libFLAC/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libFLAC/lpc.c b/src/libFLAC/lpc.c
index aecaebd7..4457c822 100644
--- a/src/libFLAC/lpc.c
+++ b/src/libFLAC/lpc.c
@@ -187,7 +187,7 @@ int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order,
if(*shift < min_shiftlimit || *shift > max_shiftlimit) {
#ifdef FLAC__OVERFLOW_DETECT
- fprintf(stderr,"FLAC__lpc_quantize_coefficients: shift out of limit: shift=%d cmax=%f precision=%u\n",q,qmax,*shift,cmax,precision+1);
+ fprintf(stderr,"FLAC__lpc_quantize_coefficients: shift out of limit: shift=%d cmax=%f precision=%u\n",*shift,cmax,precision+1);
#endif
#if 0
/*@@@ this does not seem to help at all, but was not extensively tested either: */
@@ -228,7 +228,7 @@ int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order,
FLAC__double error = 0.0;
FLAC__int32 q;
#ifdef DEBUG
- fprintf(stderr,"FLAC__lpc_quantize_coefficients: negative shift = %d\n", *shift);
+ fprintf(stderr,"FLAC__lpc_quantize_coefficients: negative shift=%d order=%u cmax=%f\n", *shift, order, cmax);
#endif
for(i = 0; i < order; i++) {
error += lp_coeff[i] / (1 << nshift);