avconv_opt.c:657: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `avformat_close_input`.

avconv_opt.c:654:11: Call
652.     /* If not enough info to get the stream parameters, we decode the
653.        first frames to get it. (used in mpeg case for example) */
654.     ret = avformat_find_stream_info(ic, opts);
               ^
655.     if (ret < 0) {
656.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);

libavformat/utils.c:2404:5: Call
  2402.     }
  2403. 
  2404.     estimate_timings(ic, old_offset);
            ^
  2405. 
  2406.     compute_chapters_end(ic);

libavformat/utils.c:1878:9: Call
    1876.         file_size && ic->pb->seekable) {
    1877.         /* get accurate estimate from the PTSes */
    1878.         estimate_timings_from_pts(ic, old_offset);
                  ^
    1879.     } else if (has_duration(ic)) {
    1880.         /* at least one component has timings - we use them for all

libavformat/utils.c:1795:5: Call
      1793. 
      1794.     /* flush packet queue */
      1795.     flush_packet_queue(ic);
                ^
      1796. 
      1797.     for (i=0; i<ic->nb_streams; i++) {

libavformat/utils.c:1161:5: Call
        1159.     free_packet_buffer(&s->parse_queue,       &s->parse_queue_end);
        1160.     free_packet_buffer(&s->packet_buffer,     &s->packet_buffer_end);
        1161.     free_packet_buffer(&s->raw_packet_buffer, &s->raw_packet_buffer_end);
                  ^
        1162. 
        1163.     s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;

libavformat/utils.c:873:1: Parameter `(*pkt_buf)->pkt.size`
          871. }
          872. 
          873. static void free_packet_buffer(AVPacketList **pkt_buf, AVPacketList **pkt_buf_end)
               ^
          874. {
          875.     while (*pkt_buf) {

avconv_opt.c:656:9: Call
654.     ret = avformat_find_stream_info(ic, opts);
655.     if (ret < 0) {
656.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
             ^
657.         avformat_close_input(&ic);
658.         exit_program(1);

libavutil/log.c:148:1: Parameter `*avcl`
  146.     av_log_default_callback;
  147. 
  148. void av_log(void* avcl, int level, const char *fmt, ...)
       ^
  149. {
  150.     AVClass* avc = avcl ? *(AVClass **) avcl : NULL;

avconv_opt.c:657:9: Call
655.     if (ret < 0) {
656.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
657.         avformat_close_input(&ic);
             ^
658.         exit_program(1);
659.     }

libavformat/utils.c:2545:1: Parameter `(*ps)->nb_programs`
  2543. }
  2544. 
  2545. void avformat_close_input(AVFormatContext **ps)
        ^
  2546. {
  2547.     AVFormatContext *s = *ps;

libavformat/utils.c:2561:5: Call
  2559.     }
  2560. 
  2561.     avformat_free_context(s);
            ^
  2562. 
  2563.     *ps = NULL;

libavformat/utils.c:2501:1: <LHS trace>
2499. }
2500. 
2501. void avformat_free_context(AVFormatContext *s)
      ^
2502. {
2503.     int i;

libavformat/utils.c:2501:1: Parameter `s->nb_programs`
    2499. }
    2500. 
    2501. void avformat_free_context(AVFormatContext *s)
          ^
    2502. {
    2503.     int i;

libavformat/utils.c:2528:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_close_input` 
    2526.         av_free(st);
    2527.     }
    2528.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2529.         av_dict_free(&s->programs[i]->metadata);
    2530.         av_freep(&s->programs[i]->stream_index);
