ref: 1c7e47648e7055fecdb45410786c1d0092e31f46
parent: 68e8586420caff1db080004552af1818b8d9d845
author: menno <menno>
date: Mon Aug 11 05:52:20 EDT 2003
correct aacquant.c
--- a/libfaac/aacquant.c
+++ b/libfaac/aacquant.c
@@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: aacquant.c,v 1.21 2003/08/11 09:43:47 menno Exp $
+ * $Id: aacquant.c,v 1.22 2003/08/11 09:52:20 menno Exp $
*/
#include <math.h>
@@ -35,7 +35,8 @@
#define QUANTFAC(rx) adj43[rx]
#define ROUNDFAC 0.4054
-static int FixNoise(CoderInfo *coderInfo,
+static int FixNoise(faacEncHandle hEncoder,
+ CoderInfo *coderInfo,
const double *xr,
double *xr_pow,
int *xi,
@@ -194,7 +195,7 @@
if (do_q) {
CalcAllowedDist(coderInfo, psyInfo, xr, xmin, quality);
coderInfo->global_gain = 0;
- FixNoise(coderInfo, xr, xr_pow, xi, xmin);
+ FixNoise(hEncoder, coderInfo, xr, xr_pow, xi, xmin);
BalanceEnergy(hEncoder, coderInfo, xr, xi);
UpdateRequant(hEncoder, coderInfo, xi);