libavcodec/dca.c:1056: error: Buffer Overrun L1
  Offset: [16, `s->prim_channels` + 30] (⇐ [0, `s->prim_channels` - 1] + [16, 31]) Size: 5 by call to `qmf_32_subbands`.

libavcodec/dca.c:912:1: Parameter `s->prim_channels`
910. static const uint8_t abits_levels[7] = { 3, 5, 7, 9, 13, 17, 25 };
911. 
912. static int dca_subsubframe(DCAContext * s)
     ^
913. {
914.     int k, l;

libavcodec/dca.c:1056:10: Call
1054. /*        static float pcm_to_double[8] =
1055.             {32768.0, 32768.0, 524288.0, 524288.0, 0, 8388608.0, 8388608.0};*/
1056.          qmf_32_subbands(s, k, subband_samples[k], &s->samples[256 * s->channel_order_tab[k]],
               ^
1057.                             M_SQRT1_2*s->scale_bias /*pcm_to_double[s->source_pcm_res] */ ,
1058.                             s->add_bias );

libavcodec/dca.c:750:1: Parameter `chans`
  748. }
  749. 
  750. static void qmf_32_subbands(DCAContext * s, int chans,
       ^
  751.                             float samples_in[32][8], float *samples_out,
  752.                             float scale, float bias)

libavcodec/dca.c:777:9: Call
  775.             s->raXin[i] = 0.0;
  776. 
  777.         ff_synth_filter_float(&s->imdct,
               ^
  778.                               s->subband_fir_hist[chans], &s->hist_index[chans],
  779.                               s->subband_fir_noidea[chans], prCoeff,

libavcodec/synth_filter.c:33:10: <Offset trace>
31.     ff_imdct_half(imdct, synth_buf, in);
32. 
33.     for (i = 0; i < 16; i++){
             ^
34.         float a= synth_buf2[i     ];
35.         float b= synth_buf2[i + 16];

libavcodec/synth_filter.c:33:10: Assignment
    31.     ff_imdct_half(imdct, synth_buf, in);
    32. 
    33.     for (i = 0; i < 16; i++){
                 ^
    34.         float a= synth_buf2[i     ];
    35.         float b= synth_buf2[i + 16];

libavcodec/synth_filter.c:23:1: <Length trace>
21. #include "synth_filter.h"
22. 
23. void ff_synth_filter_float(FFTContext *imdct,
    ^
24.                            float *synth_buf_ptr, int *synth_buf_offset,
25.                            float synth_buf2[32], const float window[512],

libavcodec/synth_filter.c:23:1: Parameter `*synth_buf2`
    21. #include "synth_filter.h"
    22. 
    23. void ff_synth_filter_float(FFTContext *imdct,
        ^
    24.                            float *synth_buf_ptr, int *synth_buf_offset,
    25.                            float synth_buf2[32], const float window[512],

libavcodec/synth_filter.c:53:9: Array access: Offset: [16, s->prim_channels + 30] (⇐ [0, s->prim_channels - 1] + [16, 31]) Size: 5 by call to `qmf_32_subbands` 
    51.         out[i + 16] = b*scale + bias;
    52.         synth_buf2[i     ] = c;
    53.         synth_buf2[i + 16] = d;
                ^
    54.     }
    55.     *synth_buf_offset= (*synth_buf_offset - 32)&511;
