libavcodec/aaccoder.c:162: error: Buffer Overrun L3
  Offset: [-2, 3] Size: 4.

libavcodec/aaccoder.c:131:10: <Offset trace>
129. #ifndef USE_REALLY_FULL_SEARCH
130.     offs[0] = 1;
131.     for (i = 1; i < dim; i++)
              ^
132.         offs[i] = offs[i-1]*range;
133.     quantize_bands(s->qcoefs, in, scaled, size, Q34, !IS_CODEBOOK_UNSIGNED(cb), maxval);

libavcodec/aaccoder.c:131:10: Assignment
129. #ifndef USE_REALLY_FULL_SEARCH
130.     offs[0] = 1;
131.     for (i = 1; i < dim; i++)
              ^
132.         offs[i] = offs[i-1]*range;
133.     quantize_bands(s->qcoefs, in, scaled, size, Q34, !IS_CODEBOOK_UNSIGNED(cb), maxval);

libavcodec/aaccoder.c:103:1: <Length trace>
101.  * @return quantization distortion
102.  */
103. static float quantize_band_cost(struct AACEncContext *s, const float *in,
     ^
104.                                 const float *scaled, int size, int scale_idx,
105.                                 int cb, const float lambda, const float uplim,

libavcodec/aaccoder.c:103:1: Array declaration
101.  * @return quantization distortion
102.  */
103. static float quantize_band_cost(struct AACEncContext *s, const float *in,
     ^
104.                                 const float *scaled, int size, int scale_idx,
105.                                 int cb, const float lambda, const float uplim,

libavcodec/aaccoder.c:162:57: Array access: Offset: [-2, 3] Size: 4
160.                 continue;
161.             for (k = 0; k < dim; k++)
162.                 curidx += quants[k][!!(j & (1 << k))] * offs[dim - 1 - k];
                                                             ^
163.             curbits =  ff_aac_spectral_bits[cb-1][curidx];
164.             vec     = &ff_aac_codebook_vectors[cb-1][curidx*dim];
