shithub: aacenc

Download patch

ref: dd8c93e0fe67c010d5fbf161c5240b09c0140e7d
parent: 3bb78ff95652753063e590ab641750f43857a994
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Mon Aug 14 05:30:43 EDT 2017

lower quantizer bias

--- a/libfaac/quantize.c
+++ b/libfaac/quantize.c
@@ -136,7 +136,7 @@
       {
           double tmp = fabs(xr[cnt]) * sfacfix;
           tmp = sqrt(tmp * sqrt(tmp));
-          xi[cnt] = (int)(tmp + 0.5);
+          xi[cnt] = (int)(tmp + 0.2);
       }
     }
 }