Fixes a denorm issue in the VoIP mode high-pass filter
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 12 Aug 2013 18:47:14 +0000 (14:47 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 12 Aug 2013 18:49:02 +0000 (14:49 -0400)
src/opus_encoder.c

index 5c74535..ac40eda 100644 (file)
@@ -346,7 +346,7 @@ static void silk_biquad_float(
 
         S[ 0 ] = S[1] - vout*A[0] + B[1]*inval;
 
-        S[ 1 ] = - vout*A[1] + B[2]*inval;
+        S[ 1 ] = - vout*A[1] + B[2]*inval + VERY_SMALL;
 
         /* Scale back to Q0 and saturate */
         out[ k*stride ] = vout;