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

avconv.c:160:9: Call
158.         }
159.         av_freep(&fg->outputs);
160.         av_freep(&fg->graph_desc);
             ^
161. 
162.         av_freep(&filtergraphs[i]);

libavutil/mem.c:207:26: Assignment
  205. 
  206.     memcpy(&val, arg, sizeof(val));
  207.     memcpy(arg, &(void *){ NULL }, sizeof(val));
                                ^
  208.     av_free(val);
  209. }

avconv.c:199:9: Call
197.     }
198.     for (i = 0; i < nb_input_files; i++) {
199.         avformat_close_input(&input_files[i]->ctx);
             ^
200.         av_freep(&input_files[i]);
201.     }

libavformat/utils.c:2486:1: Parameter `(*ps)->nb_programs`
  2484. }
  2485. 
  2486. void avformat_close_input(AVFormatContext **ps)
        ^
  2487. {
  2488.     AVFormatContext *s = *ps;

libavformat/utils.c:2501:5: Call
  2499.             s->iformat->read_close(s);
  2500. 
  2501.     avformat_free_context(s);
            ^
  2502. 
  2503.     *ps = NULL;

libavformat/utils.c:2432:1: <LHS trace>
2430. }
2431. 
2432. void avformat_free_context(AVFormatContext *s)
      ^
2433. {
2434.     int i, j;

libavformat/utils.c:2432:1: Parameter `s->nb_programs`
    2430. }
    2431. 
    2432. void avformat_free_context(AVFormatContext *s)
          ^
    2433. {
    2434.     int i, j;

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