libavcodec/aaccoder.c:501: error: Buffer Overrun L3
  Offset added: 512 Size: [0, +oo].

libavcodec/aaccoder.c:476:1: <Length trace>
474. #define TRELLIS_STATES (SCALE_MAX_DIFF+1)
475. 
476. static void search_for_quantizers_anmr(AVCodecContext *avctx, AACEncContext *s,
     ^
477.                                        SingleChannelElement *sce,
478.                                        const float lambda)

libavcodec/aaccoder.c:476:1: Parameter `sce->sf_idx[*]`
474. #define TRELLIS_STATES (SCALE_MAX_DIFF+1)
475. 
476. static void search_for_quantizers_anmr(AVCodecContext *avctx, AACEncContext *s,
     ^
477.                                        SingleChannelElement *sce,
478.                                        const float lambda)

libavcodec/aaccoder.c:501:9: Array access: Offset added: 512 Size: [0, +oo]
499. 
500.     if (!qcnt) {
501.         memset(sce->sf_idx, 0, sizeof(sce->sf_idx));
             ^
502.         memset(sce->zeroes, 1, sizeof(sce->zeroes));
503.         return;
