libavformat/rtsp.c:724: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `avformat_close_input`.

libavformat/rtsp.c:710:17: Unknown value from: non-const function
708.         if (rtsp_st) {
709.             if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context)
710.                 rtsp_st->dynamic_handler->free(
                     ^
711.                     rtsp_st->dynamic_protocol_context);
712.             for (j = 0; j < rtsp_st->nb_include_source_addrs; j++)

libavformat/rtsp.c:724:9: Call
722.     av_free(rt->rtsp_streams);
723.     if (rt->asf_ctx) {
724.         avformat_close_input(&rt->asf_ctx);
             ^
725.     }
726.     if (CONFIG_RTPDEC && rt->ts)

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);
