*** empty log message ***
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 1 Mar 2001 19:14:05 +0000 (19:14 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 1 Mar 2001 19:14:05 +0000 (19:14 +0000)
src/libFLAC/lpc.c

index fd255e4..c7eaaa0 100644 (file)
@@ -104,8 +104,8 @@ int FLAC__lpc_quantize_coefficients(const real lp_coeff[], unsigned order, unsig
                if(d > cmax)
                        cmax = d;
        }
-       if(cmax < 0) {
-               /* => coeffients are all 0, which means our constant-detect didn't work */
+       if(cmax < 0.0) {
+               /* => coefficients are all 0, which means our constant-detect didn't work */
                return 2;
        }
        else {