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

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

libavformat/utils.c:2423:5: Call
  2421.     }
  2422. 
  2423.     estimate_timings(ic, old_offset);
            ^
  2424. 
  2425.     compute_chapters_end(ic);

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

libavformat/utils.c:1858:5: Call
      1856. 
      1857.     /* flush packet queue */
      1858.     flush_packet_queue(ic);
                ^
      1859. 
      1860.     for (i=0; i<ic->nb_streams; i++) {

libavformat/utils.c:1221:9: Call
        1219.         pktl = s->raw_packet_buffer;
        1220.         s->raw_packet_buffer = pktl->next;
        1221.         av_free_packet(&pktl->pkt);
                      ^
        1222.         av_free(pktl);
        1223.     }

libavcodec/avpacket.c:151:1: Parameter `pkt->size`
          149. }
          150. 
          151. void av_free_packet(AVPacket *pkt)
               ^
          152. {
          153.     if (pkt) {

avconv.c:3310:9: Call
3308.     ret = avformat_find_stream_info(ic, opts);
3309.     if (ret < 0) {
3310.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
              ^
3311.         avformat_close_input(&ic);
3312.         exit_program(1);

libavutil/log.c:140:1: Parameter `*avcl`
  138.     av_log_default_callback;
  139. 
  140. void av_log(void* avcl, int level, const char *fmt, ...)
       ^
  141. {
  142.     AVClass* avc = avcl ? *(AVClass **) avcl : NULL;

avconv.c:3311:9: Call
3309.     if (ret < 0) {
3310.         av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
3311.         avformat_close_input(&ic);
              ^
3312.         exit_program(1);
3313.     }

libavformat/utils.c:2594:1: Parameter `(*ps)->nb_programs`
  2592. #endif
  2593. 
  2594. void avformat_close_input(AVFormatContext **ps)
        ^
  2595. {
  2596.     AVFormatContext *s = *ps;

libavformat/utils.c:2602:5: Call
  2600.     if (s->iformat->read_close)
  2601.         s->iformat->read_close(s);
  2602.     avformat_free_context(s);
            ^
  2603.     *ps = NULL;
  2604.     if (pb)

libavformat/utils.c:2545:1: <LHS trace>
2543. }
2544. 
2545. void avformat_free_context(AVFormatContext *s)
      ^
2546. {
2547.     int i;

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

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