avconv.c:1329: error: Integer Overflow L2
  ([max(1, `enc->frame_size`), 2147483647] + 32):signed32 by call to `av_samples_get_buffer_size`.

avconv.c:1315:1: Parameter `enc->frame_size`
1313. }
1314. 
1315. static int alloc_audio_output_buf(AVCodecContext *dec, AVCodecContext *enc,
      ^
1316.                                   int nb_samples, int *buf_linesize)
1317. {

avconv.c:1325:25: Assignment
1323.                         dec->sample_rate;
1324.     audio_buf_samples = 4 * audio_buf_samples + 16; // safety factors for resampling
1325.     audio_buf_samples = FFMAX(audio_buf_samples, enc->frame_size);
                              ^
1326.     if (audio_buf_samples > INT_MAX)
1327.         return AVERROR(EINVAL);

avconv.c:1325:5: Assignment
1323.                         dec->sample_rate;
1324.     audio_buf_samples = 4 * audio_buf_samples + 16; // safety factors for resampling
1325.     audio_buf_samples = FFMAX(audio_buf_samples, enc->frame_size);
          ^
1326.     if (audio_buf_samples > INT_MAX)
1327.         return AVERROR(EINVAL);

avconv.c:1329:22: Call
1327.         return AVERROR(EINVAL);
1328. 
1329.     audio_buf_size = av_samples_get_buffer_size(buf_linesize, enc->channels,
                           ^
1330.                                                 audio_buf_samples,
1331.                                                 enc->sample_fmt, 0);

libavutil/samplefmt.c:115:1: <LHS trace>
113. }
114. 
115. int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
     ^
116.                                enum AVSampleFormat sample_fmt, int align)
117. {

libavutil/samplefmt.c:115:1: Parameter `nb_samples`
  113. }
  114. 
  115. int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
       ^
  116.                                enum AVSampleFormat sample_fmt, int align)
  117. {

libavutil/samplefmt.c:129:9: Binary operation: ([max(1, enc->frame_size), 2147483647] + 32):signed32 by call to `av_samples_get_buffer_size` 
  127.     if (!align) {
  128.         align = 1;
  129.         nb_samples = FFALIGN(nb_samples, 32);
               ^
  130.     }
  131. 
