aacenc: 10l, missed a reference when refactoring the psymodel.

Message ID AANLkTikqK+K2g5KsDOWKYSo16Rp+ac=qaHFLJxvdas2s@mail.gmail.com
State Committed
Commit 350785a6621529c50771f4e7043b4d159a96ed26
Headers show

Commit Message

Nathan Caldwell March 18, 2011, 1:47 a.m.
---
 libavcodec/aacpsy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Alex Converse March 18, 2011, 4:02 a.m. | #1
On Thu, Mar 17, 2011 at 6:47 PM, Nathan Caldwell <saintdev@gmail.com> wrote:
> ---
>  libavcodec/aacpsy.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>

Ok; pushed

Patch

diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c
index d9896ed..9938e37 100644
--- a/libavcodec/aacpsy.c
+++ b/libavcodec/aacpsy.c
@@ -397,7 +397,7 @@  static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
     int i, w, g;
     const int      num_bands  = ctx->num_bands[wi->num_windows == 8];
     const uint8_t *band_sizes = ctx->bands[wi->num_windows == 8];
-    AacPsyCoeffs  *coeffs     = &pctx->psy_coef[wi->num_windows == 8];
+    AacPsyCoeffs  *coeffs     = pctx->psy_coef[wi->num_windows == 8];
 
     //calculate energies, initial thresholds and related values - 5.4.2 "Threshold Calculation"
     for (w = 0; w < wi->num_windows*16; w += 16) {