libavcodec/aacenc.c:251: error: Buffer Overrun L3
  Offset: [-1023, 1278] Size: 2048.

libavcodec/aacenc.c:249:14: <Offset trace>
247.         ff_mdct_calc(&s->mdct1024, sce->coeffs, s->output);
248.     } else {
249.         for (k = 0; k < 1024; k += 128) {
                  ^
250.             for (i = 448 + k; i < 448 + k + 256; i++)
251.                 s->output[i - 448 - k] = (i < 1024)

libavcodec/aacenc.c:249:14: Assignment
247.         ff_mdct_calc(&s->mdct1024, sce->coeffs, s->output);
248.     } else {
249.         for (k = 0; k < 1024; k += 128) {
                  ^
250.             for (i = 448 + k; i < 448 + k + 256; i++)
251.                 s->output[i - 448 - k] = (i < 1024)

libavcodec/aacenc.c:215:1: <Length trace>
213. }
214. 
215. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
216.                                   SingleChannelElement *sce, short *audio)
217. {

libavcodec/aacenc.c:215:1: Parameter `s->output[*]`
213. }
214. 
215. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
216.                                   SingleChannelElement *sce, short *audio)
217. {

libavcodec/aacenc.c:251:17: Array access: Offset: [-1023, 1278] Size: 2048
249.         for (k = 0; k < 1024; k += 128) {
250.             for (i = 448 + k; i < 448 + k + 256; i++)
251.                 s->output[i - 448 - k] = (i < 1024)
                     ^
252.                                          ? sce->saved[i]
253.                                          : audio[(i-1024)*chans];
