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

libavresample/utils.c:372:15: Call
370.     if (input) {
371.         /* initialize input_buffer with input data */
372.         ret = ff_audio_data_init(&input_buffer, input, in_plane_size,
                   ^
373.                                  avr->in_channels, in_samples,
374.                                  avr->in_sample_fmt, 1, "input");

libavresample/audio_data.c:73:1: Parameter `a->nb_samples`
  71. }
  72. 
  73. int ff_audio_data_init(AudioData *a, uint8_t **src, int plane_size, int channels,
      ^
  74.                        int nb_samples, enum AVSampleFormat sample_fmt,
  75.                        int read_only, const char *name)

libavresample/utils.c:384:19: Call
382.                directly in the output buffer */
383.             av_log(avr, AV_LOG_TRACE, "[copy] %s to output\n", current_buffer->name);
384.             ret = ff_audio_data_copy(&output_buffer, current_buffer,
                       ^
385.                                      avr->remap_point == REMAP_OUT_COPY ?
386.                                      &avr->ch_map_info : NULL);

libavresample/audio_data.c:224:1: Parameter `src->nb_samples`
  222. }
  223. 
  224. int ff_audio_data_copy(AudioData *dst, AudioData *src, ChannelMapInfo *map)
       ^
  225. {
  226.     int ret, p;

libavresample/audio_data.c:244:11: Call
  242. 
  243.     /* reallocate output if necessary */
  244.     ret = ff_audio_data_realloc(dst, src->nb_samples);
                 ^
  245.     if (ret < 0)
  246.         return ret;

libavresample/audio_data.c:161:1: Parameter `nb_samples`
    159. }
    160. 
    161. int ff_audio_data_realloc(AudioData *a, int nb_samples)
         ^
    162. {
    163.     int ret, new_buf_size, plane_size, p;

libavresample/audio_data.c:173:20: Call
    171.         return AVERROR(EINVAL);
    172. 
    173.     new_buf_size = av_samples_get_buffer_size(&plane_size,
                            ^
    174.                                               a->allocated_channels, nb_samples,
    175.                                               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. 
