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

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

libavformat/utils.c:2501:5: Call
  2499.     }
  2500. 
  2501.     estimate_timings(ic, old_offset);
            ^
  2502. 
  2503.     compute_chapters_end(ic);

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

libavformat/utils.c:1847:5: Call
      1845. 
      1846.     /* flush packet queue */
      1847.     flush_packet_queue(ic);
                ^
      1848. 
      1849.     for (i = 0; i < ic->nb_streams; i++) {

libavformat/utils.c:1179:5: Call
        1177.     free_packet_buffer(&s->parse_queue,       &s->parse_queue_end);
        1178.     free_packet_buffer(&s->packet_buffer,     &s->packet_buffer_end);
        1179.     free_packet_buffer(&s->raw_packet_buffer, &s->raw_packet_buffer_end);
                  ^
        1180. 
        1181.     s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;

libavformat/utils.c:894:1: Parameter `(*pkt_buf)->pkt.size`
          892. }
          893. 
          894. static void free_packet_buffer(AVPacketList **pkt_buf, AVPacketList **pkt_buf_end)
               ^
          895. {
          896.     while (*pkt_buf) {

avconv_opt.c:710:9: Call
708.     ret = avformat_find_stream_info(ic, opts);
709.     if (ret < 0) {
710.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
             ^
711.         avformat_close_input(&ic);
712.         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:711:9: Call
709.     if (ret < 0) {
710.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
711.         avformat_close_input(&ic);
             ^
712.         exit_program(1);
713.     }

libavformat/utils.c:2647:1: Parameter `(*ps)->nb_programs`
  2645. }
  2646. 
  2647. void avformat_close_input(AVFormatContext **ps)
        ^
  2648. {
  2649.     AVFormatContext *s = *ps;

libavformat/utils.c:2662:5: Call
  2660.             s->iformat->read_close(s);
  2661. 
  2662.     avformat_free_context(s);
            ^
  2663. 
  2664.     *ps = NULL;

libavformat/utils.c:2596:1: <LHS trace>
2594. }
2595. 
2596. void avformat_free_context(AVFormatContext *s)
      ^
2597. {
2598.     int i, j;

libavformat/utils.c:2596:1: Parameter `s->nb_programs`
    2594. }
    2595. 
    2596. void avformat_free_context(AVFormatContext *s)
          ^
    2597. {
    2598.     int i, j;

libavformat/utils.c:2629:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_close_input` 
    2627.         av_free(st);
    2628.     }
    2629.     for (i = s->nb_programs - 1; i >= 0; i--) {
                   ^
    2630.         av_dict_free(&s->programs[i]->metadata);
    2631.         av_freep(&s->programs[i]->stream_index);
