libavcodec/flacdec.c:460: error: Integer Overflow L2
  ([1, 2147483616] + 32):signed32 by call to `allocate_buffers`.

libavcodec/flacdec.c:401:1: Parameter `s->max_blocksize`
399. }
400. 
401. static int decode_frame(FLACContext *s)
     ^
402. {
403.     int i, ret;

libavcodec/flacdec.c:460:15: Call
458. 
459.     if (!s->got_streaminfo) {
460.         ret = allocate_buffers(s);
                   ^
461.         if (ret < 0)
462.             return ret;

libavcodec/flacdec.c:126:1: Parameter `s->max_blocksize`
  124. }
  125. 
  126. static int allocate_buffers(FLACContext *s)
       ^
  127. {
  128.     int buf_size;

libavcodec/flacdec.c:130:16: Call
  128.     int buf_size;
  129. 
  130.     buf_size = av_samples_get_buffer_size(NULL, s->channels, s->max_blocksize,
                      ^
  131.                                           AV_SAMPLE_FMT_S32P, 0);
  132.     if (buf_size < 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 `allocate_buffers` 
    122.             return AVERROR(EINVAL);
    123.         align = 1;
    124.         nb_samples = FFALIGN(nb_samples, 32);
                 ^
    125.     }
    126. 
