avconv.c:197: 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:202:5: Assignment
  200.     void **ptr = (void **)arg;
  201.     av_free(*ptr);
  202.     *ptr = NULL;
           ^
  203. }
  204. 

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

libavformat/utils.c:2624:1: Parameter `(*ps)->nb_programs`
  2622. }
  2623. 
  2624. void avformat_close_input(AVFormatContext **ps)
        ^
  2625. {
  2626.     AVFormatContext *s = *ps;

libavformat/utils.c:2639:5: Call
  2637.             s->iformat->read_close(s);
  2638. 
  2639.     avformat_free_context(s);
            ^
  2640. 
  2641.     *ps = NULL;

libavformat/utils.c:2573:1: <LHS trace>
2571. }
2572. 
2573. void avformat_free_context(AVFormatContext *s)
      ^
2574. {
2575.     int i, j;

libavformat/utils.c:2573:1: Parameter `s->nb_programs`
    2571. }
    2572. 
    2573. void avformat_free_context(AVFormatContext *s)
          ^
    2574. {
    2575.     int i, j;

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