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

avprobe.c:779:13: Call
777.         probe_array_header("streams");
778.         for (i = 0; i < fmt_ctx->nb_streams; i++)
779.             show_stream(fmt_ctx, i);
                 ^
780.         probe_array_footer("streams");
781.     }

avprobe.c:786:5: Call
784.         show_packets(fmt_ctx);
785. 
786.     close_input_file(&fmt_ctx);
         ^
787.     return 0;
788. }

avprobe.c:751:1: Parameter `(*ctx_ptr)->nb_programs`
  749. }
  750. 
  751. static void close_input_file(AVFormatContext **ctx_ptr)
       ^
  752. {
  753.     int i;

avprobe.c:762:5: Call
  760.         avcodec_close(stream->codec);
  761.     }
  762.     avformat_close_input(ctx_ptr);
           ^
  763. }
  764. 

libavformat/utils.c:2702:1: Parameter `(*ps)->nb_programs`
    2700. #endif
    2701. 
    2702. void avformat_close_input(AVFormatContext **ps)
          ^
    2703. {
    2704.     AVFormatContext *s = *ps;

libavformat/utils.c:2718:5: Call
    2716.     }
    2717. 
    2718.     avformat_free_context(s);
              ^
    2719. 
    2720.     *ps = NULL;

libavformat/utils.c:2652:1: <LHS trace>
2650. }
2651. 
2652. void avformat_free_context(AVFormatContext *s)
      ^
2653. {
2654.     int i;

libavformat/utils.c:2652:1: Parameter `s->nb_programs`
      2650. }
      2651. 
      2652. void avformat_free_context(AVFormatContext *s)
            ^
      2653. {
      2654.     int i;

libavformat/utils.c:2678:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `close_input_file` 
      2676.         av_free(st);
      2677.     }
      2678.     for(i=s->nb_programs-1; i>=0; i--) {
                    ^
      2679.         av_dict_free(&s->programs[i]->metadata);
      2680.         av_freep(&s->programs[i]->stream_index);
