libavresample/utils.c:400: error: Integer Overflow L2
  ([1, 2147483616] + 32):signed32 by call to `ff_audio_data_realloc`.

libavresample/utils.c:367:15: Call
365.     if (input) {
366.         /* initialize input_buffer with input data */
367.         ret = ff_audio_data_init(&input_buffer, input, in_plane_size,
                   ^
368.                                  avr->in_channels, in_samples,
369.                                  avr->in_sample_fmt, 1, "input");

libavresample/audio_data.c:65:1: Parameter `a->nb_samples`
  63. }
  64. 
  65. int ff_audio_data_init(AudioData *a, uint8_t **src, int plane_size, int channels,
      ^
  66.                        int nb_samples, enum AVSampleFormat sample_fmt,
  67.                        int read_only, const char *name)

libavresample/utils.c:400:23: Call
398.                applicable */
399.             if (avr->in_convert_needed) {
400.                 ret = ff_audio_data_realloc(avr->in_buffer,
                           ^
401.                                             current_buffer->nb_samples);
402.                 if (ret < 0)

libavresample/audio_data.c:153:1: Parameter `nb_samples`
  151. }
  152. 
  153. int ff_audio_data_realloc(AudioData *a, int nb_samples)
       ^
  154. {
  155.     int ret, new_buf_size, plane_size, p;

libavresample/audio_data.c:165:20: Call
  163.         return AVERROR(EINVAL);
  164. 
  165.     new_buf_size = av_samples_get_buffer_size(&plane_size,
                          ^
  166.                                               a->allocated_channels, nb_samples,
  167.                                               a->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 `ff_audio_data_realloc` 
    122.             return AVERROR(EINVAL);
    123.         align = 1;
    124.         nb_samples = FFALIGN(nb_samples, 32);
                 ^
    125.     }
    126. 
