[FFmpeg-soc] [soc]: r5525 - aac-sbr/aacsbr.c
alexc
subversion at mplayerhq.hu
Fri Dec 11 21:26:47 CET 2009
Author: alexc
Date: Fri Dec 11 21:26:47 2009
New Revision: 5525
Log:
Fix e_curr calculation when bs_interpol_freq = 0.
Modified:
aac-sbr/aacsbr.c
Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c Thu Dec 10 19:53:27 2009 (r5524)
+++ aac-sbr/aacsbr.c Fri Dec 11 21:26:47 2009 (r5525)
@@ -1410,7 +1410,10 @@ static void sbr_env_estimate(float (*e_c
sum += x_high[k][i][0] * x_high[k][i][0] +
x_high[k][i][1] * x_high[k][i][1];
}
- e_curr[l][k - sbr->k[3]] = sum / den;
+ }
+ sum /= den;
+ for (k = table[p]; k < table[p + 1]; k++) {
+ e_curr[l][k - sbr->k[3]] = sum;
}
}
}
More information about the FFmpeg-soc
mailing list