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

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:411:23: Call
409.             } else {
410.                 av_dlog(avr, "[copy] %s to in_buffer\n", current_buffer->name);
411.                 ret = ff_audio_data_copy(avr->in_buffer, current_buffer,
                           ^
412.                                          avr->remap_point == REMAP_IN_COPY ?
413.                                          &avr->ch_map_info : NULL);

libavresample/audio_data.c:216:1: Parameter `src->nb_samples`
  214. }
  215. 
  216. int ff_audio_data_copy(AudioData *dst, AudioData *src, ChannelMapInfo *map)
       ^
  217. {
  218.     int ret, p;

libavresample/audio_data.c:236:11: Call
  234. 
  235.     /* reallocate output if necessary */
  236.     ret = ff_audio_data_realloc(dst, src->nb_samples);
                 ^
  237.     if (ret < 0)
  238.         return ret;

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_copy` 
      122.             return AVERROR(EINVAL);
      123.         align = 1;
      124.         nb_samples = FFALIGN(nb_samples, 32);
                   ^
      125.     }
      126. 
