libavcodec/ac3enc.c:1090: error: Buffer Overrun L3
  Offset: [-1, 4] Size: 6.

libavcodec/ac3enc.c:1076:10: <Offset trace>
1074.     reset_block_bap(s);
1075.     mantissa_bits = 0;
1076.     for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
               ^
1077.         AC3Block *block = &s->blocks[blk];
1078.         // initialize grouped mantissa counts. these are set so that they are

libavcodec/ac3enc.c:1076:10: Assignment
1074.     reset_block_bap(s);
1075.     mantissa_bits = 0;
1076.     for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
               ^
1077.         AC3Block *block = &s->blocks[blk];
1078.         // initialize grouped mantissa counts. these are set so that they are

libavcodec/ac3enc.c:1066:1: <Length trace>
1064.  *         is used.
1065.  */
1066. static int bit_alloc(AC3EncodeContext *s, int snr_offset)
      ^
1067. {
1068.     int blk, ch;

libavcodec/ac3enc.c:1066:1: Parameter `s->blocks[*]`
1064.  *         is used.
1065.  */
1066. static int bit_alloc(AC3EncodeContext *s, int snr_offset)
      ^
1067. {
1068.     int blk, ch;

libavcodec/ac3enc.c:1090:40: Array access: Offset: [-1, 4] Size: 6
1088.                whenever we reuse exponents. */
1089.             if (block->exp_strategy[ch] == EXP_REUSE) {
1090.                 memcpy(block->bap[ch], s->blocks[blk-1].bap[ch], AC3_MAX_COEFS);
                                             ^
1091.             } else {
1092.                 ff_ac3_bit_alloc_calc_bap(block->mask[ch], block->psd[ch], 0,
