libavcodec/aacenc.c:238: error: Buffer Overrun L1
  Offset: [1024, 2047] Size: 1024.

libavcodec/aacenc.c:237:18: <Offset trace>
235.         }
236.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
237.             for (i = 0, j = channel; i < 1024; i++, j += avctx->channels) {
                      ^
238.                 s->output[i+1024]         = audio[j] * lwindow[1024 - i - 1];
239.                 sce->saved[i] = audio[j] * lwindow[i];

libavcodec/aacenc.c:237:18: Assignment
235.         }
236.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
237.             for (i = 0, j = channel; i < 1024; i++, j += avctx->channels) {
                      ^
238.                 s->output[i+1024]         = audio[j] * lwindow[1024 - i - 1];
239.                 sce->saved[i] = audio[j] * lwindow[i];

libavcodec/aacenc.c:219:1: <Length trace>
217. }
218. 
219. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
220.                                   SingleChannelElement *sce, short *audio, int channel)
221. {

libavcodec/aacenc.c:219:1: Parameter `sce->saved[*]`
217. }
218. 
219. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
220.                                   SingleChannelElement *sce, short *audio, int channel)
221. {

libavcodec/aacenc.c:238:17: Array access: Offset: [1024, 2047] Size: 1024
236.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
237.             for (i = 0, j = channel; i < 1024; i++, j += avctx->channels) {
238.                 s->output[i+1024]         = audio[j] * lwindow[1024 - i - 1];
                     ^
239.                 sce->saved[i] = audio[j] * lwindow[i];
240.             }
