libavcodec/dcadec.c:1961: error: Integer Overflow L2
  ([1, 2147483616] + 32):signed32 by call to `av_samples_get_buffer_size`.

libavcodec/dcadec.c:1734:16: Call
1732.     }
1733. 
1734.     if ((ret = dca_parse_frame_header(s)) < 0) {
                     ^
1735.         // seems like the frame is corrupt, try with the next one
1736.         return ret;

libavcodec/dcadec.c:569:28: Call
  567.     s->samples_deficit   = get_bits(&s->gb, 5) + 1;
  568.     s->crc_present       = get_bits(&s->gb, 1);
  569.     s->sample_blocks     = get_bits(&s->gb, 7) + 1;
                                  ^
  570.     s->frame_size        = get_bits(&s->gb, 14) + 1;
  571.     if (s->frame_size < 95)

libavcodec/get_bits.h:245:5: Call
    243.     register int tmp;
    244.     OPEN_READER(re, s);
    245.     UPDATE_CACHE(re, s);
             ^
    246.     tmp = SHOW_UBITS(re, s, n);
    247.     LAST_SKIP_BITS(re, s, n);

libavutil/ppc/intreadwrite.h:77:5: Assignment
      75.     uint32_t v;
      76.     __asm__ ("lwbrx   %0, %y1" : "=r"(v) : "Z"(*(const uint32_t*)p));
      77.     return v;
              ^
      78. }
      79. 

libavcodec/get_bits.h:245:5: Assignment
    243.     register int tmp;
    244.     OPEN_READER(re, s);
    245.     UPDATE_CACHE(re, s);
             ^
    246.     tmp = SHOW_UBITS(re, s, n);
    247.     LAST_SKIP_BITS(re, s, n);

libavcodec/get_bits.h:246:5: Assignment
    244.     OPEN_READER(re, s);
    245.     UPDATE_CACHE(re, s);
    246.     tmp = SHOW_UBITS(re, s, n);
             ^
    247.     LAST_SKIP_BITS(re, s, n);
    248.     CLOSE_READER(re, s);

libavcodec/get_bits.h:249:5: Assignment
    247.     LAST_SKIP_BITS(re, s, n);
    248.     CLOSE_READER(re, s);
    249.     return tmp;
             ^
    250. }
    251. 

libavcodec/dcadec.c:569:5: Assignment
  567.     s->samples_deficit   = get_bits(&s->gb, 5) + 1;
  568.     s->crc_present       = get_bits(&s->gb, 1);
  569.     s->sample_blocks     = get_bits(&s->gb, 7) + 1;
           ^
  570.     s->frame_size        = get_bits(&s->gb, 14) + 1;
  571.     if (s->frame_size < 95)

libavcodec/dcadec.c:1952:5: Assignment
1950. 
1951.     /* get output buffer */
1952.     frame->nb_samples = 256 * (s->sample_blocks / 8);
          ^
1953.     if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) {
1954.         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");

libavcodec/dcadec.c:1961:15: Call
1959.     /* allocate buffer for extra channels if downmixing */
1960.     if (avctx->channels < full_channels) {
1961.         ret = av_samples_get_buffer_size(NULL, full_channels - channels,
                    ^
1962.                                          frame->nb_samples,
1963.                                          avctx->sample_fmt, 0);

libavutil/samplefmt.c:108:1: <LHS trace>
106. }
107. 
108. int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
     ^
109.                                enum AVSampleFormat sample_fmt, int align)
110. {

libavutil/samplefmt.c:108:1: Parameter `nb_samples`
  106. }
  107. 
  108. int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
       ^
  109.                                enum AVSampleFormat sample_fmt, int align)
  110. {

libavutil/samplefmt.c:124:9: Binary operation: ([1, 2147483616] + 32):signed32 by call to `av_samples_get_buffer_size` 
  122.             return AVERROR(EINVAL);
  123.         align = 1;
  124.         nb_samples = FFALIGN(nb_samples, 32);
               ^
  125.     }
  126. 
