libavcodec/dca.c:1770: error: Buffer Overrun L2
  Offset: [0, 6] Size: 5 by call to `dca_decode_block`.

libavcodec/dca.c:1767:17: Call
1765. 
1766.                 /* much like core primary audio coding header */
1767.                 dca_parse_audio_coding_header(s, s->xch_base_channel);
                      ^
1768. 
1769.                 for (i = 0; i < (s->sample_blocks / 8); i++)

libavcodec/dca.c:472:9: Assignment
  470. 
  471.     if (s->prim_channels > DCA_PRIM_CHANNELS_MAX)
  472.         s->prim_channels = DCA_PRIM_CHANNELS_MAX;
               ^
  473. 
  474. 

libavcodec/dca.c:1770:32: Call
1768. 
1769.                 for (i = 0; i < (s->sample_blocks / 8); i++)
1770.                     if ((ret = dca_decode_block(s, s->xch_base_channel, i))) {
                                     ^
1771.                         av_log(avctx, AV_LOG_ERROR, "error decoding XCh extension\n");
1772.                         continue;

libavcodec/dca.c:1318:1: Parameter `base_channel`
  1316.  */
  1317. 
  1318. static int dca_decode_block(DCAContext *s, int base_channel, int block_index)
        ^
  1319. {
  1320.     int ret;

libavcodec/dca.c:1334:20: Call
  1332. #endif
  1333.         /* Read subframe header */
  1334.         if ((ret = dca_subframe_header(s, base_channel, block_index)))
                           ^
  1335.             return ret;
  1336.     }

libavcodec/dca.c:652:1: <Offset trace>
650. }
651. 
652. static int dca_subframe_header(DCAContext *s, int base_channel, int block_index)
     ^
653. {
654.     /* Primary audio coding side information */

libavcodec/dca.c:652:1: Parameter `s->prim_channels`
    650. }
    651. 
    652. static int dca_subframe_header(DCAContext *s, int base_channel, int block_index)
         ^
    653. {
    654.     /* Primary audio coding side information */

libavcodec/dcadata.h:7531:1: <Length trace>
7529. };
7530. 
7531. static const uint8_t dca_default_coeffs[16][5][2] = {
      ^
7532.     { { 13, 13 },                                                 },
7533.     { {  0, 64 }, { 64,  0 },                                     },

libavcodec/dcadata.h:7531:1: Array declaration
    7529. };
    7530. 
    7531. static const uint8_t dca_default_coeffs[16][5][2] = {
          ^
    7532.     { { 13, 13 },                                                 },
    7533.     { {  0, 64 }, { 64,  0 },                                     },

libavcodec/dca.c:794:41: Array access: Offset: [0, 6] Size: 5 by call to `dca_decode_block` 
    792.             int am = s->amode & DCA_CHANNEL_MASK;
    793.             for (j = base_channel; j < s->prim_channels; j++) {
    794.                 s->downmix_coef[j][0] = dca_default_coeffs[am][j][0];
                                                 ^
    795.                 s->downmix_coef[j][1] = dca_default_coeffs[am][j][1];
    796.             }
