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

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:410:23: Call
408.                     return ret;
409.                 av_log(avr, AV_LOG_TRACE, "[convert] %s to in_buffer\n", current_buffer->name);
410.                 ret = ff_audio_convert(avr->ac_in, avr->in_buffer,
                           ^
411.                                        current_buffer);
412.                 if (ret < 0)

libavresample/audio_convert.c:314:1: Parameter `in->nb_samples`
  312. }
  313. 
  314. int ff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in)
       ^
  315. {
  316.     int use_generic = 1;

libavresample/audio_convert.c:326:16: Call
  324.                 av_get_sample_fmt_name(ac->out_fmt));
  325. 
  326.         return ff_convert_dither(ac->dc, out, in);
                      ^
  327.     }
  328. 

libavresample/dither.c:242:1: Parameter `src->nb_samples`
    240. }
    241. 
    242. int ff_convert_dither(DitherContext *c, AudioData *dst, AudioData *src)
         ^
    243. {
    244.     int ret;

libavresample/dither.c:252:15: Call
    250.     else {
    251.         /* make sure s16_data is large enough for the output */
    252.         ret = ff_audio_data_realloc(c->s16_data, src->nb_samples);
                       ^
    253.         if (ret < 0)
    254.             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_convert` 
        122.             return AVERROR(EINVAL);
        123.         align = 1;
        124.         nb_samples = FFALIGN(nb_samples, 32);
                     ^
        125.     }
        126. 
