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

libavcodec/aacenc.c:248:14: <Offset trace>
246.     } else {
247.         j = channel;
248.         for (k = 0; k < 1024; k += 128) {
                  ^
249.             for (i = 448 + k; i < 448 + k + 256; i++)
250.                 s->output[i - 448 - k] = (i < 1024)

libavcodec/aacenc.c:248:14: Assignment
246.     } else {
247.         j = channel;
248.         for (k = 0; k < 1024; k += 128) {
                  ^
249.             for (i = 448 + k; i < 448 + k + 256; i++)
250.                 s->output[i - 448 - k] = (i < 1024)

libavcodec/aacenc.c:211:1: <Length trace>
209. }
210. 
211. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
212.                                   SingleChannelElement *sce, short *audio, int channel)
213. {

libavcodec/aacenc.c:211:1: Parameter `s->output[*]`
209. }
210. 
211. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
212.                                   SingleChannelElement *sce, short *audio, int channel)
213. {

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