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

libavcodec/aacenc.c:234:18: <Offset trace>
232.         }
233.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
234.             for (i = 0; i < 1024; i++) {
                      ^
235.                 s->output[i+1024]         = audio[i * chans] * lwindow[1024 - i - 1];
236.                 sce->saved[i] = audio[i * chans] * lwindow[i];

libavcodec/aacenc.c:234:18: Assignment
232.         }
233.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
234.             for (i = 0; i < 1024; i++) {
                      ^
235.                 s->output[i+1024]         = audio[i * chans] * lwindow[1024 - i - 1];
236.                 sce->saved[i] = audio[i * chans] * lwindow[i];

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 `sce->saved[*]`
213. }
214. 
215. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
216.                                   SingleChannelElement *sce, short *audio)
217. {

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