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

libavresample/resample.c:432:23: Call
430.     /* TODO: try to calculate this without the dummy resample() run */
431.     if (!dst->read_only && dst->allow_realloc) {
432.         out_samples = resample(c, NULL, NULL, NULL, c->buffer->nb_samples,
                           ^
433.                                INT_MAX, 0);
434.         ret = ff_audio_data_realloc(dst, out_samples);

libavresample/resample.c:343:9: Assignment
  341. 
  342.     if (!dst != !src)
  343.         return AVERROR(EINVAL);
               ^
  344. 
  345.     if (compensation_distance == 0 && c->filter_length == 1 &&

libavresample/resample.c:432:9: Assignment
430.     /* TODO: try to calculate this without the dummy resample() run */
431.     if (!dst->read_only && dst->allow_realloc) {
432.         out_samples = resample(c, NULL, NULL, NULL, c->buffer->nb_samples,
             ^
433.                                INT_MAX, 0);
434.         ret = ff_audio_data_realloc(dst, out_samples);

libavresample/resample.c:434:15: Call
432.         out_samples = resample(c, NULL, NULL, NULL, c->buffer->nb_samples,
433.                                INT_MAX, 0);
434.         ret = ff_audio_data_realloc(dst, out_samples);
                   ^
435.         if (ret < 0) {
436.             av_log(c->avr, AV_LOG_ERROR, "error reallocating output\n");

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:177:15: Call
  175.         uint8_t *new_data[AVRESAMPLE_MAX_CHANNELS] = { NULL };
  176. 
  177.         ret = av_samples_alloc(new_data, &plane_size, a->allocated_channels,
                     ^
  178.                                nb_samples, a->sample_fmt, 0);
  179.         if (ret < 0)

libavutil/samplefmt.c:162:1: Parameter `nb_samples`
    160. }
    161. 
    162. int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels,
         ^
    163.                      int nb_samples, enum AVSampleFormat sample_fmt, int align)
    164. {

libavutil/samplefmt.c:166:16: Call
    164. {
    165.     uint8_t *buf;
    166.     int size = av_samples_get_buffer_size(NULL, nb_channels, nb_samples,
                        ^
    167.                                           sample_fmt, align);
    168.     if (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 `ff_audio_data_realloc` 
      122.             return AVERROR(EINVAL);
      123.         align = 1;
      124.         nb_samples = FFALIGN(nb_samples, 32);
                   ^
      125.     }
      126. 
