avprobe.c:841: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `close_input_file`.

avprobe.c:834:13: Call
832.         probe_array_header("streams", 0);
833.         for (i = 0; i < fmt_ctx->nb_streams; i++)
834.             show_stream(fmt_ctx, i);
                 ^
835.         probe_array_footer("streams", 0);
836.     }

avprobe.c:841:5: Call
839.         show_packets(fmt_ctx);
840. 
841.     close_input_file(&fmt_ctx);
         ^
842.     return 0;
843. }

avprobe.c:806:1: Parameter `(*ctx_ptr)->nb_programs`
  804. }
  805. 
  806. static void close_input_file(AVFormatContext **ctx_ptr)
       ^
  807. {
  808.     int i;

avprobe.c:817:5: Call
  815.         avcodec_close(stream->codec);
  816.     }
  817.     avformat_close_input(ctx_ptr);
           ^
  818. }
  819. 

libavformat/utils.c:2509:1: Parameter `(*ps)->nb_programs`
    2507. }
    2508. 
    2509. void avformat_close_input(AVFormatContext **ps)
          ^
    2510. {
    2511.     AVFormatContext *s = *ps;

libavformat/utils.c:2524:5: Call
    2522.             s->iformat->read_close(s);
    2523. 
    2524.     avformat_free_context(s);
              ^
    2525. 
    2526.     *ps = NULL;

libavformat/utils.c:2477:1: <LHS trace>
2475. }
2476. 
2477. void avformat_free_context(AVFormatContext *s)
      ^
2478. {
2479.     int i;

libavformat/utils.c:2477:1: Parameter `s->nb_programs`
      2475. }
      2476. 
      2477. void avformat_free_context(AVFormatContext *s)
            ^
      2478. {
      2479.     int i;

libavformat/utils.c:2491:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `close_input_file` 
      2489.         free_stream(&s->streams[i]);
      2490. 
      2491.     for (i = s->nb_programs - 1; i >= 0; i--) {
                     ^
      2492.         av_dict_free(&s->programs[i]->metadata);
      2493.         av_freep(&s->programs[i]->stream_index);
