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

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

libavformat/utils.c:2500:5: Call
  2498.     }
  2499. 
  2500.     estimate_timings(ic, old_offset);
            ^
  2501. 
  2502.     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:700:9: Call
698.     ret = avformat_find_stream_info(ic, opts);
699.     if (ret < 0) {
700.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
             ^
701.         avformat_close_input(&ic);
702.         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:701:9: Call
699.     if (ret < 0) {
700.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
701.         avformat_close_input(&ic);
             ^
702.         exit_program(1);
703.     }

libavformat/utils.c:2639:1: Parameter `(*ps)->nb_programs`
  2637. }
  2638. 
  2639. void avformat_close_input(AVFormatContext **ps)
        ^
  2640. {
  2641.     AVFormatContext *s = *ps;

libavformat/utils.c:2654:5: Call
  2652.             s->iformat->read_close(s);
  2653. 
  2654.     avformat_free_context(s);
            ^
  2655. 
  2656.     *ps = NULL;

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

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

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