ffmpeg.c:3862: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `av_close_input_file`.

ffmpeg.c:3862:9: Call
3860.     }
3861.     for(i=0;i<nb_input_files;i++)
3862.         av_close_input_file(input_files[i]);
              ^
3863. 
3864.     av_free_static();

libavformat/utils.c:2152:1: Parameter `s->nb_programs`
  2150. }
  2151. 
  2152. void av_close_input_file(AVFormatContext *s)
        ^
  2153. {
  2154.     ByteIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;

libavformat/utils.c:2155:5: Call
  2153. {
  2154.     ByteIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;
  2155.     av_close_input_stream(s);
            ^
  2156.     if (pb)
  2157.         url_fclose(pb);

libavformat/utils.c:2118:1: <LHS trace>
2116. }
2117. 
2118. void av_close_input_stream(AVFormatContext *s)
      ^
2119. {
2120.     int i;

libavformat/utils.c:2118:1: Parameter `s->nb_programs`
    2116. }
    2117. 
    2118. void av_close_input_stream(AVFormatContext *s)
          ^
    2119. {
    2120.     int i;

libavformat/utils.c:2141:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_file` 
    2139.         av_free(st);
    2140.     }
    2141.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2142.         av_freep(&s->programs[i]->provider_name);
    2143.         av_freep(&s->programs[i]->name);
