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

libavcodec/aacenc.c:230:18: <Offset trace>
228.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
229.             j = channel;
230.             for (i = 0; i < 1024; i++, j += avctx->channels) {
                      ^
231.                 s->output[i+1024]         = audio[j] * lwindow[1024 - i - 1];
232.                 sce->saved[i] = audio[j] * lwindow[i];

libavcodec/aacenc.c:230:18: Assignment
228.         if (sce->ics.window_sequence[0] != LONG_START_SEQUENCE) {
229.             j = channel;
230.             for (i = 0; i < 1024; i++, j += avctx->channels) {
                      ^
231.                 s->output[i+1024]         = audio[j] * lwindow[1024 - i - 1];
232.                 sce->saved[i] = audio[j] * lwindow[i];

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 `sce->saved[*]`
209. }
210. 
211. static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s,
     ^
212.                                   SingleChannelElement *sce, short *audio, int channel)
213. {

libavcodec/aacenc.c:231:17: Array access: Offset: [1024, 2047] Size: 1024
229.             j = channel;
230.             for (i = 0; i < 1024; i++, j += avctx->channels) {
231.                 s->output[i+1024]         = audio[j] * lwindow[1024 - i - 1];
                     ^
232.                 sce->saved[i] = audio[j] * lwindow[i];
233.             }
