libavcodec/ac3enc.c:554: error: Buffer Overrun L2
  Offset: [0, 255] Size: 6 by call to `compute_exp_strategy_ch`.

libavcodec/ac3enc.c:542:1: Array declaration
540.  * Array arrangement is reversed to simplify the per-channel calculation.
541.  */
542. static void compute_exp_strategy(AC3EncodeContext *s)
     ^
543. {
544.     uint8_t *exp1[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS];

libavcodec/ac3enc.c:554:9: Call
552.         }
553. 
554.         compute_exp_strategy_ch(exp_str1[ch], exp1[ch]);
             ^
555. 
556.         for (blk = 0; blk < AC3_MAX_BLOCKS; blk++)

libavcodec/ac3enc.c:504:1: Parameter `**exp`
  502.  * Calculate exponent strategies for all blocks in a single channel.
  503.  */
  504. static void compute_exp_strategy_ch(uint8_t *exp_strategy, uint8_t **exp)
       ^
  505. {
  506.     int blk, blk1;

libavcodec/ac3enc.c:513:20: Call
  511.     exp_strategy[0] = EXP_NEW;
  512.     for (blk = 1; blk < AC3_MAX_BLOCKS; blk++) {
  513.         exp_diff = calc_exp_diff(exp[blk], exp[blk-1], AC3_MAX_COEFS);
                          ^
  514.         if (exp_diff > EXP_DIFF_THRESHOLD)
  515.             exp_strategy[blk] = EXP_NEW;

libavcodec/ac3enc.c:484:1: <Offset trace>
482.  * Calculate the sum of absolute differences (SAD) between 2 sets of exponents.
483.  */
484. static int calc_exp_diff(uint8_t *exp1, uint8_t *exp2, int n)
     ^
485. {
486.     int sum, i;

libavcodec/ac3enc.c:484:1: Parameter `n`
    482.  * Calculate the sum of absolute differences (SAD) between 2 sets of exponents.
    483.  */
    484. static int calc_exp_diff(uint8_t *exp1, uint8_t *exp2, int n)
         ^
    485. {
    486.     int sum, i;

libavcodec/ac3enc.c:484:1: <Length trace>
482.  * Calculate the sum of absolute differences (SAD) between 2 sets of exponents.
483.  */
484. static int calc_exp_diff(uint8_t *exp1, uint8_t *exp2, int n)
     ^
485. {
486.     int sum, i;

libavcodec/ac3enc.c:484:1: Parameter `*exp1`
    482.  * Calculate the sum of absolute differences (SAD) between 2 sets of exponents.
    483.  */
    484. static int calc_exp_diff(uint8_t *exp1, uint8_t *exp2, int n)
         ^
    485. {
    486.     int sum, i;

libavcodec/ac3enc.c:489:20: Array access: Offset: [0, 255] Size: 6 by call to `compute_exp_strategy_ch` 
    487.     sum = 0;
    488.     for (i = 0; i < n; i++)
    489.         sum += abs(exp1[i] - exp2[i]);
                            ^
    490.     return sum;
    491. }
