avtools/avconv.c:2789: error: Integer Overflow L2
  ([1, 2147483616] + 32):signed32 by call to `process_input_packet`.

avtools/avconv.c:2789:13: Call
2787.         ist = input_streams[i];
2788.         if (!input_files[ist->file_index]->eof_reached) {
2789.             process_input_packet(ist, NULL, 0);
                  ^
2790.         }
2791.     }

avtools/avconv.c:1528:19: Call
  1526.             break;
  1527.         case AVMEDIA_TYPE_VIDEO:
  1528.             ret = decode_video    (ist, repeating ? NULL : &avpkt, &got_output,
                          ^
  1529.                                    &decode_failed);
  1530.             if (repeating && !got_output)

avtools/avconv.c:2789:13: Call
2787.         ist = input_streams[i];
2788.         if (!input_files[ist->file_index]->eof_reached) {
2789.             process_input_packet(ist, NULL, 0);
                  ^
2790.         }
2791.     }

avtools/avconv.c:1492:1: Parameter `ist->decoded_frame->nb_samples`
  1490. 
  1491. /* pkt = NULL means EOF (needed to flush decoder buffers) */
  1492. static void process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eof)
        ^
  1493. {
  1494.     int i;

avtools/avconv.c:1524:19: Call
  1522.         switch (ist->dec_ctx->codec_type) {
  1523.         case AVMEDIA_TYPE_AUDIO:
  1524.             ret = decode_audio    (ist, repeating ? NULL : &avpkt, &got_output,
                          ^
  1525.                                    &decode_failed);
  1526.             break;

avtools/avconv.c:1343:1: Parameter `ist->decoded_frame->nb_samples`
    1341. }
    1342. 
    1343. static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output,
          ^
    1344.                         int *decode_failed)
    1345. {

avtools/avconv.c:1381:19: Call
    1379.         if (i < ist->nb_filters - 1) {
    1380.             f = ist->filter_frame;
    1381.             err = av_frame_ref(f, decoded_frame);
                            ^
    1382.             if (err < 0)
    1383.                 break;

libavutil/frame.c:203:1: Parameter `src->nb_samples`
      201. }
      202. 
      203. int av_frame_ref(AVFrame *dst, const AVFrame *src)
           ^
      204. {
      205.     int i, ret = 0;

libavutil/frame.c:211:5: Assignment
      209.     dst->height         = src->height;
      210.     dst->channel_layout = src->channel_layout;
      211.     dst->nb_samples     = src->nb_samples;
               ^
      212. 
      213.     ret = av_frame_copy_props(dst, src);

libavutil/frame.c:219:15: Call
      217.     /* duplicate the frame data if it's not refcounted */
      218.     if (!src->buf[0]) {
      219.         ret = av_frame_get_buffer(dst, 32);
                         ^
      220.         if (ret < 0)
      221.             return ret;

libavutil/frame.c:190:1: Parameter `frame->nb_samples`
        188. }
        189. 
        190. int av_frame_get_buffer(AVFrame *frame, int align)
             ^
        191. {
        192.     if (frame->format < 0)

libavutil/frame.c:198:16: Call
        196.         return get_video_buffer(frame, align);
        197.     else if (frame->nb_samples > 0 && frame->channel_layout)
        198.         return get_audio_buffer(frame, align);
                            ^
        199. 
        200.     return AVERROR(EINVAL);

libavutil/frame.c:141:1: Parameter `frame->nb_samples`
          139. }
          140. 
          141. static int get_audio_buffer(AVFrame *frame, int align)
               ^
          142. {
          143.     int channels = av_get_channel_layout_nb_channels(frame->channel_layout);

libavutil/frame.c:149:15: Call
          147. 
          148.     if (!frame->linesize[0]) {
          149.         ret = av_samples_get_buffer_size(&frame->linesize[0], channels,
                             ^
          150.                                          frame->nb_samples, frame->format,
          151.                                          align);

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