minor syntax

This commit is contained in:
Josh Coalson
2007-02-03 02:53:29 +00:00
parent 469ba74996
commit 67e5d6d41b

View File

@@ -187,7 +187,7 @@ int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order,
if(*shift < min_shiftlimit || *shift > max_shiftlimit) { if(*shift < min_shiftlimit || *shift > max_shiftlimit) {
#ifdef FLAC__OVERFLOW_DETECT #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 #endif
#if 0 #if 0
/*@@@ this does not seem to help at all, but was not extensively tested either: */ /*@@@ 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__double error = 0.0;
FLAC__int32 q; FLAC__int32 q;
#ifdef DEBUG #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 #endif
for(i = 0; i < order; i++) { for(i = 0; i < order; i++) {
error += lp_coeff[i] / (1 << nshift); error += lp_coeff[i] / (1 << nshift);